# if ubuntu
# sudo apt-get install python3-distutils
wget https://bootstrap.pypa.io/get-pip.py
python get-pip.py
or
# for ubuntu 20
sudo apt install python3-pip python3-setuptools
pip install virtualenvwrapper
Linux Setup
python3 -m venv tutorial-env
tutorial-env\Scripts\activate.bat
source env1/bin/activate
Windows Setup
python3 -m venv tutorial-env
tutorial-env\Scripts\activate.bat
https://virtualenvwrapper.readthedocs.io/en/latest/
pip install --user virtualenvwrapper
source virtualenvwrapper.sh
mkvirtualenv <your_env_name> --python=python3
pip install -r requirements.txt
https://virtualenvwrapper.readthedocs.io/en/latest/command_ref.html#wipeenv
wipeenv
Starter requirements.txt
pandas
textblob
spacy
pg8000==1.13.2
schedule
requests
textblob
vaderSentiment
emojis
sqlalchemy
psycopg2-binary
click==7.1.1
cssmin==0.2.0
jsmin==2.2.2
lesscpy==0.14.0
Flask==1.1.1
Flask-Assets==2.0
flask-login
flask-wtf
wtforms
flask_table
flask_migrate
flask-mail
flask-sqlalchemy
itsdangerous==1.1.0
Jinja2==2.11.1
MarkupSafe==1.1.1
ply==3.11
python-dotenv==0.12.0
six==1.14.0
webassets==2.0
Werkzeug==1.0.0
pillow
gunicorn
workon is the command to switch between environments.
workon your_env_name
workon some_other_env
pip install flake8 isort yapf python-language-server