virtualenv 安装不同版本的虚拟环境的办法

废话不多说直接上代码

virtualenv -p C:\Python27\python2.exe env

上面的*.exe是你要使用的python版本的exe文件的绝对路径。
官方文档参考:http://virtualenv-chinese-docs.readthedocs.io/en/latest/#id29
posted @ 2017-03-26 11:27  marsggbo  阅读(464)  评论(0编辑  收藏  举报