Admin
默认安装到系统Python3目录
pip3 install pipenv
vim ~/.profile
末尾添加
export WORKON_HOME="~/.venvs"
重启或者执行source ~/.profile生效测试:随便找个项目目录执行pipenv install,看看安装虚拟环境目录是否在~/.venvs下
source ~/.profile
pipenv install
随便打开一个项目,在~/.venvs下创建一个虚拟环境,以后新建项目虚拟环境都会在.venvs下创建了