Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

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
Source by packaging.python.org #
 
PREVIOUS NEXT
Tagged: #venv #python
ADD COMMENT
Topic
Name
1+4 =