pip install virtualenv
pip install virtualenvwrapper
vim ~/.bashrc添加下面几行
export WORKON_HOME=$HOME/.virtualenvs
export PROJECT_HOME=$HOME/workspace
source /usr/local/bin/virtualenvwrapper.sh
source ~/.bashrc
时间: 2024-11-13 06:52:27
pip install virtualenv
pip install virtualenvwrapper
vim ~/.bashrc添加下面几行
export WORKON_HOME=$HOME/.virtualenvs
export PROJECT_HOME=$HOME/workspace
source /usr/local/bin/virtualenvwrapper.sh
source ~/.bashrc