当前位置: 代码迷 >> 综合 >> python3 装包http失败 An HTTP error occurred when trying to retrieve this URL.
  详细解决方案

python3 装包http失败 An HTTP error occurred when trying to retrieve this URL.

热度:50   发布时间:2023-12-02 08:31:47.0

通常装包的时候响应半天最后告诉你失败了,http延时了什么的,
多半是包的地址在国外。

先用学校的校园网,

CondaHTTPError: HTTP 000 CONNECTION FAILED for url https://repo.anaconda.com/pkgs/main/win-64/sympy-1.4-py36_0.conda
Elapsed: -

An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.

校园网不行,上热点,
CondaHTTPError: HTTP 000 CONNECTION FAILED for url https://repo.anaconda.com/pkgs/main/win-64/sympy-1.4-py36_0.conda
Elapsed: -

An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.
热点还不行,那就校园网+VPN(墙)
或者热点+VPN

然后,就可以了~

Downloading and Extracting Packages
sympy-1.4 | 7.9 MB | ############################################################################ | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: done


版权归作者 小白是哪个小白_ 所有,转载、引用请注明链接出处。

  相关解决方案