pip安装python包出错:Could not find a version that satisfies the requirement skimage (from versions: )...

pip安装python包出错:Could not find a version that satisfies the requirement skimage (from versions: )

今天用pip安装skimage时报错:

这是因为网络的问题,需要使用国内的镜像源来加速,比如豆瓣源

命令改为:

pip install scikit-image -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com

或者

pip3 install scikit-image -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com

最后成功安装:

 

posted @ 2018-03-28 21:47 予你心安 阅读( ...) 评论( ...) 编辑 收藏
ERROR: Could not find a version that satisfies the requirement skimage (from versions: none) 这个错误表明安装 skimage 时找不到满足要求的版本。可能的原因有几种: 1. 你的网络连接不稳定或者速度较慢。请确保网络连接稳定,并尝试使用更快的网络连接。 2. 你的 Python 环境中没有安装 pip 或者 pip 版本过低。请确保 Python 环境中安装pip,并且 pip 版本不低于 19.0。你可以在命令行中输入以下命令来检查 pip 版本: pip --version 3. skimage 的版本不兼容你的 Python 环境或者其他依赖的版本。请确保你的 Python 环境符合 skimage 的要求,并且已经安装skimage 的所有依赖。 为了解决这个问题,你可以尝试以下方法: 1. 确认网络连接稳定,并尝试使用更快的网络连接。 2. 确认你的 Python 环境中已安装 pip,并升级 pip 到最新版本: pip install --upgrade pip 3. 确认你的 Python 环境符合 skimage 的要求,并尝试安装其他版本的 skimage ,或者尝试安装 skimage 的依赖。 4. 如果以上方法仍无法解决问题,可以尝试手动安装 skimage 。你可以在 skimage 官方网站或者官方 GitHub 仓库中找到源代码,并按照官方文档中的说明进行手动安装。 请注意,根据具体的情况可能需要结合具体错误信息来进行问题排查和解决。<span class="em">1</span><span class="em">2</span><span class="em">3</span> #### 引用[.reference_title] - *1* [Could not find a version that satisfies the requirement cython](https://download.csdn.net/download/weixin_47723732/88050285)[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^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"] - *2* [Python安装报错ERROR: Could not find a version that satisfies the requirement XXX解决方法](https://blog.csdn.net/ramblerviper/article/details/125648990)[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^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"] - *3* [解决ERROR:Could not find a version that satisfies the requirement torch-fx ......found for torch-fx](https://blog.csdn.net/ZHUO__zhuo/article/details/130457145)[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^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"] [ .reference_list ]
评论 9
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

程序员对白

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值