python 安装模块报错 response.py", line 302, in _error_catcher

 

 

python 安装模块报错

Exception:
Traceback (most recent call last):
File "/usr/share/python-wheels/urllib3-1.22-py2.py3-none-any.whl/urllib3/response.py", line 302, in _error_catcher
yield
File "/usr/share/python-wheels/urllib3-1.22-py2.py3-none-any.whl/urllib3/response.py", line 384, in read
data = self._fp.read(amt)
File "/usr/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/filewrapper.py", line 60, in read
data = self.__fp.read(amt)

 

安装的使用在后面指定镜像来源

加上

-i https://pypi.doubanio.com/simple

 

pip3 install grpcio-tools -i https://pypi.doubanio.com/simple

 

posted @ 2021-09-29 10:12  yvioo  阅读(662)  评论(0编辑  收藏  举报