在终端用pip安装时老是报错,把pip升级到最高版本还是不行
ERROR: Exception: Traceback (most recent call last): File "F:\software\anaconda\envs\tensorflow\lib\site-packages\pip\_vendor\urllib3\response.py", line 438, in _error_catcher yield File "F:\software\anaconda\envs\tensorflow\lib\site-packages\pip\_vendor\urllib3\response.py", line 561, in read data = self._fp_read(amt) if not fp_closed else b""
然后看到别人说可以更改pip的源
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
这个命令将pip的源更改为清华大学的服务
换了之后安装东西杠杠的