成功解决The following specifications were found to be incompatible with the existing python installation


饭没了
饭没了 2022-09-19 11:01:03 53898
分类专栏: 资讯

成功解决UnsatisfiableError: The following specifications were found to be incompatible with the existing python installation in your environment:

目录

解决问题

解决思路

解决方法


解决问题

Unsatisfiable Error: The following specifications were found
to be incompatible with the existing python installation in your environment:
Specifications:
  - h5py==2.7.0 -> python[version='>=2.7,<2.8.0a0|>=3.5,<3.6.0a0|>=3.6,<3.7.0a0']
Your python: python=3.8
If python is on the left-most side of the chain, that's the version you've asked for.When python appears to the right, that indicates that the thing on the left is somehow not available for the python version you are constrained to. Note that conda will not change your python version to a different minor version unless you explicitly specify that.

解决思路

不可满足的错误:发现以下规格
要与环境中现有的python安装不兼容,请执行以下操作:
规格:
-h5py==2.7.0->python[version='>=2.7,<2.8.0a0 |>=3.5,<3.6.0a0 |>=3.6,<3.7.0a0']
您的python:python=3.8
如果python位于链的最左侧,那么这就是您所要求的版本。当python出现在右侧时,这表明左侧的内容在某种程度上不适用于您所约束的python版本。请注意,除非您明确指定,否则conda不会将python版本更改为其他次要版本。

解决方法

当前安装的包的版本与当前python版本不合适或者不兼容,所以,需要根据python语言的版本安装所对应的包!
比如python3.7以上的版本,安装的h5py版本不能低于3.6版本!

网站声明:如果转载,请联系本站管理员。否则一切后果自行承担。

本文链接:https://www.xckfsq.com/news/show.html?id=1932
赞同 0
评论 0 条
饭没了L1
粉丝 0 发表 20 + 关注 私信
上周热门
如何使用 StarRocks 管理和优化数据湖中的数据?  2944
【软件正版化】软件正版化工作要点  2863
统信UOS试玩黑神话:悟空  2823
信刻光盘安全隔离与信息交换系统  2718
镜舟科技与中启乘数科技达成战略合作,共筑数据服务新生态  1251
grub引导程序无法找到指定设备和分区  1217
华为全联接大会2024丨软通动力分论坛精彩议程抢先看!  163
点击报名 | 京东2025校招进校行程预告  162
2024海洋能源产业融合发展论坛暨博览会同期活动-海洋能源与数字化智能化论坛成功举办  160
华为纯血鸿蒙正式版9月底见!但Mate 70的内情还得接着挖...  157
本周热议
我的信创开放社区兼职赚钱历程 40
今天你签到了吗? 27
信创开放社区邀请他人注册的具体步骤如下 15
如何玩转信创开放社区—从小白进阶到专家 15
方德桌面操作系统 14
我有15积分有什么用? 13
用抖音玩法闯信创开放社区——用平台宣传企业产品服务 13
如何让你先人一步获得悬赏问题信息?(创作者必看) 12
2024中国信创产业发展大会暨中国信息科技创新与应用博览会 9
中央国家机关政府采购中心:应当将CPU、操作系统符合安全可靠测评要求纳入采购需求 8

加入交流群

请使用微信扫一扫!