当前位置: 代码迷 >> 综合 >> pip3 install upgrade pipllow报错 Could not find a version that satisfies the requirement pillow
  详细解决方案

pip3 install upgrade pipllow报错 Could not find a version that satisfies the requirement pillow

热度:27   发布时间:2024-02-10 15:47:07.0

在安装pip3 install upgrade pip报错
Could not find a version that satisfies the requirement pillow (from versions: )
No matching distribution found for pillow
解决办法:
sudo apt-get install python3-pip
sudo apt-get update
pip3 install pillow --user -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com
可能是因为国内镜像太慢了 后面加上 -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com
使用其他镜像下载就可以了 这里是豆瓣的镜像
在安装其他库报错 Could not find a version that satisfies the requirement 应该也可以用这种方法解决

  相关解决方案