码迷,mamicode.com
首页 > 编程语言 > 详细

使用virtualenv构建python虚拟环境

时间:2016-04-17 20:27:38      阅读:162      评论:0      收藏:0      [点我收藏+]

标签:

hb@hb-pc ~ $ virtualenv --python=python3 --no-site-packages test  
Running virtualenv with interpreter /usr/bin/python3
Using base prefix ‘/usr‘
New python executable in test/bin/python3
Also creating executable in test/bin/python
Installing setuptools, pip, wheel...done.
hb@hb-pc ~ $ source test/bin/activate
(test)hb@hb-pc ~ $ pip list
pip (7.1.2)
setuptools (18.2)
wheel (0.24.0)
You are using pip version 7.1.2, however version 8.1.1 is available.
You should consider upgrading via the ‘pip install --upgrade pip‘ command.
(test)hb@hb-pc ~ $ deactive
deactive:未找到命令
(test)hb@hb-pc ~ $ deactivate 

  

使用virtualenv构建python虚拟环境

标签:

原文地址:http://www.cnblogs.com/hb91/p/5401915.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!