program-spiritual/DataAnalysisInAction

pipenv 安装第三方库时卡住

program-spiritual opened this issue · 1 comments

原因在于 Pipfile 文件中指定使用官方源锁定依赖,导致速度过慢,解决方案自然是更换国内源。
清华大学:https://pypi.tuna.tsinghua.edu.cn/simple/
更改文件 Pipfile

替换
url = "https://pypi.org/simple"

url = "https://pypi.tuna.tsinghua.edu.cn/simple/"

如果需要换源 ,需要删除之前的配置文件和.env文件夹,重新初始化