usage of virtualenv in Python
## install virtualenv
pip install virtualenv
## create new python env
cd my_project_folder
virtualenv my_project
## activate and deactivate
source my_project/bin/activate
deactivate
## pip install user defined modules
pip install requests
pip freeze > requirements.txt
pip install -r requirements.txt
## cleanup
rm -rf my_project
Disclaimer
- License under
CC BY-NC 4.0
- Copyright issue feedback
me#imzye.me
, replace # with @ - Not all the commands and scripts are tested in production environment, use at your own risk
- No privacy information is collected here
Try iOS App