sh: 1: pipenv: not found
-bash: pipenv: command not found,/usr/local/bin下没有pipenv文件

原因:没有全局安装

解决方法:sudo -H pip3 install -U pipenv

上面可能会有超时问题
pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.

sudo -H pip3 install --index-url https://pypi.douban.com/simple -U pipenv

中间加了 --index-url https://pypi.douban.com/simple

pip3 install -i http://pypi.douban.com/simple --trusted-host pypi.douban.com pipenv

国内源

国内源:
清华:https://pypi.tuna.tsinghua.edu.cn/simple/

阿里云:http://mirrors.aliyun.com/pypi/simple/

中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/

华中理工大学:http://pypi.hustunique.com/

山东理工大学:http://pypi.sdutlinux.org/ 

豆瓣:http://pypi.douban.com/simple/