Skip to content

Commit 9a8023d

Browse files
committed
Fixed script start.sh for macos.
1 parent 23f0df0 commit 9a8023d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

backend/start.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ source .venv/bin/activate
5050
# Installing required packages
5151
echo "Installing dependencies..."
5252
pip3 install --upgrade pip
53+
pip3 install django-cors-headers
5354

5455
# Install packages individually to ensure all dependencies are met
5556
echo "Installing critical packages first..."
@@ -60,6 +61,7 @@ pip3 install djangorestframework djangorestframework-simplejwt
6061
pip3 install textblob colorama tqdm
6162
pip3 install Pillow
6263
pip3 install pandas numpy scikit-learn matplotlib seaborn nltk
64+
python3 -m nltk.downloader brown punkt wordnet averaged_perceptron_tagger conll2000 movie_reviews
6365

6466
# Download required NLTK data for TextBlob
6567
echo "Downloading NLTK data for TextBlob..."

0 commit comments

Comments
 (0)