Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

venv python

python3 -m venv env    # create env
source env/bin/activate    # activate env
deactivate    # deactivate env
rm -r env/    # delete env in Linux
pip freeze    # show all packages installed
pip install -r requirements.txt   # install all packages
pip freeze > requirements.txt    # create automatically requirements.txt
 
PREVIOUS NEXT
Tagged: #venv #python
ADD COMMENT
Topic
Name
9+7 =