conda安装tensorflow-gpu2.6.0报错:
UnsatisfiableError: The following specifications were found
to be incompatible with the existing python installation in your environment:
Specifications:
- wheel -> python[version='>=2.7,<2.8.0a0|>=3.6,<3.7.0a0|>=3.8,<3.9.0a0|>=3.7,<3.8.0a0|>=3.5,<3.6.0a0']
Your python: python=3.9
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.
The following specifications were found to be incompatible with each other:
Output in format: Requested package -> Available versions
翻译是:
不满意错误:找到以下规范
与环境中现有的python安装不兼容:
规格:
-wheel->python[版本='>=2.7,<2.8.00|>=3.6,<3.7.00|>=3.8,<3.9.00|>>=3.7,<3.8.00|>=3.5,<3.6.00']
您的python:python=3.9
如果python位于链的最左侧,那就是您要求的版本。
当python出现在右边时,这表明左边的东西不知何故
不适用于您受限的python版本。请注意,conda不会
将python版本更改为其他次要版本,除非明确指定
那个
发现以下规范彼此不兼容:
输出格式:请求的包->可用版本
但是我之前使用python3.7、3.8也是都不行!
我的环境关键库的版本为:
certifi 2022.12.7
pip 22.3.1
setuptools 65.6.3
wheel 0.38.4
wincertstore 0.2
请问我该怎么办,貌似tensorflow-gpu与conda产生了分歧。
我更新了setuptools 和wheel 版本到最新依然不能解决问题。