首页 > 编程语言 > 详细

使用virtualenv构建python虚拟环境

时间:2016-04-17 20:26:38      阅读:321      评论: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
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!