program-spiritual / DataAnalysisInAction

(Finished) Geek Time Data Analysis Practical 45 Lecture - Detailed notes containing markdown images mind map code data can be read directly code test

Home Page:https://da.autosgpt.io/#/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pipenv 安装第三方库时卡住

program-spiritual opened this issue · comments

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

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

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

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