本来是想安装pillow的,但是一直安装不上,后来发现连pip更新也不能执行
报错:
ERROR: Could not find a version that satisfies the requirement pillow (from versions: none)
ERROR: No matching distribution found for pillow
然后也尝试了更换清华源,阿里源,但还是不行,然后就开始怀疑是不是pip版本有问题,就尝试更新一下pip,神奇的事发生了:
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘ProxyError(‘Cannot connect to proxy.’, FileNotFoundError(2, ‘No such file or directory’))’: /simple/pillow/
更新pip也出问题,哎呀,这就离谱了,更新这玩意怎么会出问题呢,思索片刻,突然想到自己的科学上网没关,既然连pip更新都无法执行,该不会是这玩意影响吧,把科学上网关了,安装pillow,直接通过,果然。。。
06-18
987
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
10-22
1947
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
12-12