install virtualenv

来源:互联网 发布:steam游戏更新无网络 编辑:程序博客网 时间:2024/04/30 06:10




sudo easy_install virtualenv
--------------------------- 




sudo easy_install virtualenvwrapper
-----------


Open your bash script ~/.bashrc and add the following two lines:




export WORKON_HOME="$HOME/.virtualenvs" 
source $HOME/bin/virtualenvwrapper_bashrc
    
close the bashrc file and source them: 


source ~/.bashrc
-----------------


- See more at: http://blog.fruiapps.com/2012/06/An-introductory-tutorial-to-python-virtualenv-and-virtualenvwrapper#sthash.Gz7ajrCb.dpuf
0 0
原创粉丝点击