conda create -n sentim python=3 jupyter requests validators textblob
$ conda install -c conda-forge pytest
$ conda activate sentim
$ conda install -c conda-forge newspaper3k
$ conda install -c conda-forge nltk
$ conda install -c conda-forge boto3
$ pip install vaderSentiment
$ python -m ipykernel install
$ pip install aws-xray-sdk
PS: Some of the packages below, such as vaderSentiment, were used in our tests but not implemented in our final code
$ conda install -c conda-forge spacy
$ python -m spacy download en_core_web_sm
$ python -m spacy download en_core_web_md
- added 3 directories in the PATH variable:
D:\Anaconda3 ; D:\Anaconda3\Scripts ; D:\Anaconda3\Library\bin - Included on the TOP of the PATH variable:
c:\Anaconda3\envs\sentim =>> Python
c:\Anaconda3\envs\sentim\Scripts =>> Pytest
c:\Anaconda3\Scripts =>> Conda - Created a new Env variable to disable AWS_XRAY locally:
AWS_XRAY_SDK_ENABLED = false
Created PYTHONPATH environment variable pointing to the "src" directory for Pytest:
PYTHONTEST = "D:\AATechReturners\Sentimentalists\backend\SentimentalistsApp-Backend\src"
Included empty files "init.py" in the test and src directories (required for Pytest)
Created the file "setup.py" under the directory "SentimentalistsApp-Backend":
#!/usr/bin/env python3
from setuptools import setup, find_packages
setup(name="utils", packages=find_packages())