环境:
- ubuntu 18.04
- python2.7.15
- virtualenvwrapper
解决:
- 编辑
~/.bashrc
追加如下两行:
export WORKON_HOME=$HOME/.virtualenvs
source /usr/local/bin/virtualenvwrapper.sh
- 重新加载
source ~/.bashrc
环境:
解决:
~/.bashrc
追加如下两行:export WORKON_HOME=$HOME/.virtualenvs
source /usr/local/bin/virtualenvwrapper.sh
source ~/.bashrc