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

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


目录

解决问题

解决思路

解决方法


解决问题

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版本!

网络异常,图片无法展示
|


相关文章
|
10月前
|
Shell Python
/bin/sh: python: not found 问题
/bin/sh: python: not found 问题
159 0
|
2月前
|
Python
【Python】已解决:ValueError: Worksheet named ‘Sheet’ not found
【Python】已解决:ValueError: Worksheet named ‘Sheet’ not found
148 0
|
1月前
|
API 开发工具 Python
【Azure Developer】使用 Azure Python SDK时,遇见 The resource principal named https://management.azure.com was not found in the tenant China Azure问题的解决办法
【Azure Developer】使用 Azure Python SDK时,遇见 The resource principal named https://management.azure.com was not found in the tenant China Azure问题的解决办法
|
1月前
|
中间件 Python Windows
【Azure 应用服务】Python flask 应用部署在Aure App Service中作为一个子项目时,解决遇见的404 Not Found问题
【Azure 应用服务】Python flask 应用部署在Aure App Service中作为一个子项目时,解决遇见的404 Not Found问题
|
2月前
|
自然语言处理 Python
【Python】已解决:Resource punkt not found. Please use the NLTK Downloader to obtain the resource:
【Python】已解决:Resource punkt not found. Please use the NLTK Downloader to obtain the resource:
186 1
|
2月前
|
XML 数据格式 Python
【Python】已解决:xml.parsers.expat.ExpatError: no element found: Line 1, column 0
【Python】已解决:xml.parsers.expat.ExpatError: no element found: Line 1, column 0
53 0
|
2月前
|
自然语言处理 Java 开发工具
【Python】已解决Resource averaged_perceptron_tagger not found. Please use the NLTK Downloader to obtain t
【Python】已解决Resource averaged_perceptron_tagger not found. Please use the NLTK Downloader to obtain t
82 0
|
2月前
|
自然语言处理 Python
【Python】已解决:Resource stopwords not found. Please use the NLTK Downloader to obtain the resource:
【Python】已解决:Resource stopwords not found. Please use the NLTK Downloader to obtain the resource:
84 0
|
2月前
|
Java 开发工具 git
【Python】已解决:ERROR: No matching distribution found for JPype1
【Python】已解决:ERROR: No matching distribution found for JPype1
135 0
|
2月前
|
Java Python
【Python】已解决:ERROR: No matching distribution found for JPype
【Python】已解决:ERROR: No matching distribution found for JPype
137 0