新購買服務器解決問題一:服務器安裝虛擬環境報錯

根源問題: HTTPError: 404 Client Error: Not Found for url: http://mirrors.tencentyun.com/pypi/simple/pkg-resources/ 解決方法: 訪問PyPI鏡像源出了問題,將pip的默認的源地址改爲國內源即可。具體操作如下: vim ~/.pip/pip.conf打開pip配置文件: 寫入 [global]
相關文章
相關標籤/搜索