天天看点

python3安装库报错ERROR: Exception: Traceback (most recent call last): File “A:\ProgramData\Anacon

报错信息:

ERROR: Exception:

Traceback (most recent call last):

File “A:\ProgramData\Anaconda3\envs\gee\lib\site-packages\pip_vendor\urllib3\response.py”, line 435, in _error_catcher

yield

File “A:\ProgramData\Anaconda3\envs\gee\lib\site-packages\pip_vendor\urllib3\response.py”, line 516, in read

data = self._fp.read(amt) if not fp_closed else b""

python3安装库报错ERROR: Exception: Traceback (most recent call last): File “A:\ProgramData\Anacon

解决办法:

使用国内镜像

使用方法:

在命令后面 ​​

​-i 镜像地址​

​​ 如我需要安装​

​geemap​

​这个库

原本的命令是​

​pip install geemap​

​ 使用清华镜像的命令就是​

​pip install geemap -i https://pypi.tuna.tsinghua.edu.cn/simple/​

​ 国内镜像常见的地址:

豆瓣(douban) http://pypi.douban.com/simple/

清华大学 https://pypi.tuna.tsinghua.edu.cn/simple/

中国科学技术大学 http://pypi.mirrors.ustc.edu.cn/simple/

网速对比:

国外:

python3安装库报错ERROR: Exception: Traceback (most recent call last): File “A:\ProgramData\Anacon