pipenv 安装第三方库时卡住
program-spiritual opened this issue · 1 comments
program-spiritual commented
原因在于 Pipfile 文件中指定使用官方源锁定依赖,导致速度过慢,解决方案自然是更换国内源。
清华大学:https://pypi.tuna.tsinghua.edu.cn/simple/
更改文件 Pipfile
替换
url = "https://pypi.org/simple"
为
url = "https://pypi.tuna.tsinghua.edu.cn/simple/"
program-spiritual commented
如果需要换源 ,需要删除之前的配置文件和.env文件夹,重新初始化