JakobHu 2020-01-17
pip install virtualenv -i https://pypi.douban.com/simple pip install virtualenvwrapper -i https://pypi.douban.com/simple
vim ~/.bashrc
在文件末尾添加
export WORKON_HOME=$HOME/.virtualenvs export PROJECT_HOME=$HOME/workspace source /usr/local/bin/virtualenvwrapper.sh
source ~/.bashrc
-p python3 这里可以指定自己想要的版本
mkvirtualenv -p python3 record_server workon flask