virtual-environment


pip install virtualenv
virtualenv --version

virtualenv my_name
virtualenv -p /usr/bin/python3 virtualenv_name

source virtualenv_name/bin/activate
pip install Django==1.9
deactivate

 






https://www.geeksforgeeks.org/python-virtual-environment/
posted @ 2022-05-26 11:08  sam_wang10  阅读(20)  评论(0编辑  收藏  举报