标签:环境
pip install virtualenv
pip install virtualenvwrapper-win
lsvirtualenv
mkvirtualenv env27
deactivate
mkvirtualenv -p C:\Python35\python.exe env35
deactivate
workon env35
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
pip install virtualenv
pip install virtualenvwrapper
mkdir $HOME/.virtualenvs
vim ~/.bashrc
添加:
export WORKON_HOME=$HOME/.virtualenvs
source /root/local/bin/virtualenvwrapper.sh
保存返回
source ~/.bashrc
workon
lsvirtualenv
mkvirtualenv env27
deactivate
cd ../
mkdir /download
cd /download
wget https://www.python.org/ftp/python/3.5.0/Python-3.5.0.tgz
tar -zxvf Python-3.5.0.tgz
mkdir ~/python35
cd Python-3.5.0/
./configure --prefix=/root/python35
make
make install
cd ~/.virtualenvs/
mkvirtualenv -p /root/python35/bin/python3.5 env35
deactivate
virtualenv&virtualenvwrapper on Windows&Ubuntu
标签:环境
原文地址:http://maxvision.blog.51cto.com/6269192/1748709