PROGRAMMING

  minte9
learningjourney




S R Q

Virtual Env

p283 A virtual environment is an isolated Python system.
 
python -m pip install --upgrade pip
pip install virtualenv

virtualenv ./my_env     # create

. my_env/bin/activate   # load and activate
pip list                # test     

deactivate              # exit  

: '
Package    Version
---------- -------
pip        22.3.1
setuptools 65.6.3
wheel      0.38.4
'
        
echo 'my_env/' > .gitignore

Questions    
Last update: 61 days ago
Packages, Jupyter