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

virtualenv (isolated virtual environment) for python runtime

时间:2015-08-06 23:53:47      阅读:206      评论:0      收藏:0      [点我收藏+]

标签:

refrence: https://virtualenv.pypa.io/en/latest/userguide.html#usage

1. install

#pip install virtualenv

2. create a isolated env

#cd ~
#mkdir -p py_env/dj_1.4
#virtualenv py_env/dj_1.4

3. active env

#. bin/activate

or

#source bin/activate

4. deactivate

#deactivate

5.pip install demo

Reference: https://pip.pypa.io/en/latest/reference/pip_install.html#git

#pip install git+https://github.com/django/django.git@1.7b3

virtualenv (isolated virtual environment) for python runtime

标签:

原文地址:http://www.cnblogs.com/BugQiang/p/4709400.html

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