1.安装virtualenv
pip install virtaulenv
2.创建虚拟环境 env03
virtualenv env03
3.切换到进入虚拟换环境脚本目录(activate)
cd env03
cd Scripts
4.进入虚拟环境
activate
5.离开环境
deactivate
pip install virtaulenv
virtualenv env03
cd env03
cd Scripts
activate
deactivate
转载于:https://www.cnblogs.com/benjamin77/p/11432894.html