Skip to content

Python Virtual Environments


pip install virtualenv
mkdir python-virtual-environments && cd python-virtual-environments

# In Project Folder
python3 -m venv env
source env/bin/activate
pip install -r requirements.txt

My Jupyter Environment


pip install jupyter
pip install numpy
pip install spacy
pip install sqlalchemy
pip install psycopg2-binary
pip install pypdf


python -m spacy download en_core_web_sm

Generate requirements.txt from virtual environment

pip3 freeze > requirements.txt

Sources