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

在安装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 应该也可以用这种方法解决

  • 2
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
引用和引用中都提到了"ERROR: Could not find a version that satisfies the requirement Pillow (from versions: none)"的错误提示。这个错误通常是由于缺少所需的依赖库或者没有正确安装Pillow库导致的。如果你使用的是Python,可以尝试以下解决方案来解决这个问题: 1. 确保你已经安装了pip,它是Python的包管理器。你可以在终端或命令行中运行"pip --version"来检查pip是否已安装。 2. 确保你的Python版本是最新的。你可以通过运行"python --version"来检查你的Python版本。如果你的Python版本比较旧,建议升级到最新版本。 3. 如果你已经安装了Pillow库,尝试升级到最新版本。你可以运行"pip install --upgrade pillow"来升级Pillow库。 4. 如果你还没有安装Pillow库,可以运行"pip install pillow"来安装。确保你的网络连接正常,因为这将从Python的软件包索引中下载并安装Pillow库。 5. 如果以上解决方案都没有解决问题,你可以尝试使用其他的Python包管理工具,如conda来安装Pillow库。 希望以上解决方案可以帮助你解决"Could not find a version that satisfies the requirement Pillow (from versions: none)"的问题。<span class="em">1</span><span class="em">2</span><span class="em">3</span> #### 引用[.reference_title] - *1* [ERROR: Could not find a version that satisfies the requirement pillow (from versions: none)](https://blog.csdn.net/lxx191079173/article/details/121928057)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"] - *2* *3* [ERROR: Could not find a version that satisfies the requirement PIL (from versions: none)解决方案](https://blog.csdn.net/weixin_43178406/article/details/130536747)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"] [ .reference_list ]

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值