Tony Einstein 2023-02-04 17:59 采纳率: 45%
浏览 139
已结题

UnsatisfiableError: The following specifications were found to be incompatib

conda安装tensorflow-GPU 2.6.0报错:

Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: /
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
failed

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

Specifications:

  - wheel -> python[version='>=3.10,<3.11.0a0|>=3.9,<3.10.0a0|>=3.11,<3.12.0a0']

Your python: python=3.7.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

Package sqlite conflicts for:
wincertstore -> python[version='>=3.7,<3.8.0a0'] -> sqlite[version='>=3.25.3,<4.0a0|>=3.26.0,<4.0a0|>=3.27.2,<4.0a0|>=3.28.0,<4.0a0|>=3.29.0,<4.0a0|>=3.30.1,<4.0a0|>=3.31.1,<4.0a0|>=3.33.0,<4.0a0|>=3.36.0,<4.0a0|>=3.38.0,<4.0a0|>=3.39.3,<4.0a0|>=3.40.0,<4.0a0|>=3.40.1,<4.0a0|>=3.39.2,<4.0a0|>=3.38.2,<4.0a0|>=3.35.4,<4.0a0|>=3.32.3,<4.0a0|>=3.30.0,<4.0a0|>=3.35.1,<4.0a0']
certifi -> python[version='>=3.7,<3.8.0a0'] -> sqlite[version='>=3.25.3,<4.0a0|>=3.26.0,<4.0a0|>=3.27.2,<4.0a0|>=3.28.0,<4.0a0|>=3.29.0,<4.0a0|>=3.30.1,<4.0a0|>=3.31.1,<4.0a0|>=3.33.0,<4.0a0|>=3.36.0,<4.0a0|>=3.38.0,<4.0a0|>=3.39.3,<4.0a0|>=3.40.0,<4.0a0|>=3.40.1,<4.0a0|>=3.39.2,<4.0a0|>=3.38.2,<4.0a0|>=3.35.4,<4.0a0|>=3.32.3,<4.0a0|>=3.30.0,<4.0a0|>=3.35.1,<4.0a0']
pip -> python[version='>=3.7,<3.8.0a0'] -> sqlite[version='>=3.25.3,<4.0a0|>=3.26.0,<4.0a0|>=3.27.2,<4.0a0|>=3.28.0,<4.0a0|>=3.29.0,<4.0a0|>=3.30.1,<4.0a0|>=3.31.1,<4.0a0|>=3.33.0,<4.0a0|>=3.36.0,<4.0a0|>=3.38.0,<4.0a0|>=3.39.3,<4.0a0|>=3.40.0,<4.0a0|>=3.40.1,<4.0a0|>=3.35.4,<4.0a0|>=3.32.3,<4.0a0|>=3.30.0,<4.0a0|>=3.39.2,<4.0a0|>=3.38.2,<4.0a0|>=3.35.1,<4.0a0']
wheel -> python -> sqlite[version='>=3.25.3,<4.0a0|>=3.26.0,<4.0a0|>=3.27.2,<4.0a0|>=3.28.0,<4.0a0|>=3.29.0,<4.0a0|>=3.30.0,<4.0a0|>=3.30.1,<4.0a0|>=3.31.1,<4.0a0|>=3.32.3,<4.0a0|>=3.33.0,<4.0a0|>=3.35.4,<4.0a0|>=3.36.0,<4.0a0|>=3.38.0,<4.0a0|>=3.39.3,<4.0a0|>=3.40.0,<4.0a0|>=3.40.1,<4.0a0|>=3.39.2,<4.0a0|>=3.38.2,<4.0a0|>=3.35.1,<4.0a0']
setuptools -> python[version='>=3.7,<3.8.0a0'] -> sqlite[version='>=3.25.3,<4.0a0|>=3.26.0,<4.0a0|>=3.27.2,<4.0a0|>=3.28.0,<4.0a0|>=3.29.0,<4.0a0|>=3.30.1,<4.0a0|>=3.31.1,<4.0a0|>=3.33.0,<4.0a0|>=3.36.0,<4.0a0|>=3.38.0,<4.0a0|>=3.39.3,<4.0a0|>=3.40.0,<4.0a0|>=3.40.1,<4.0a0|>=3.39.2,<4.0a0|>=3.38.2,<4.0a0|>=3.35.4,<4.0a0|>=3.32.3,<4.0a0|>=3.30.0,<4.0a0|>=3.35.1,<4.0a0']

Package vc conflicts for:
pip -> python[version='>=3.7,<3.8.0a0'] -> vc[version='14.*|>=14.1,<15.0a0|9.*']
sqlite -> vc[version='14.*|9.*|>=14.1,<15.0a0']
setuptools -> python[version='>=3.7,<3.8.0a0'] -> vc[version='14.*|>=14.1,<15.0a0|9.*']
certifi -> python[version='>=3.7,<3.8.0a0'] -> vc[version='14.*|>=14.1,<15.0a0|9.*']
openssl -> vc[version='14.*|9.*|>=14.1,<15.0a0']
cudatoolkit=11.2 -> vc[version='>=14.1,<15']
wheel -> python -> vc[version='14.*|>=14.1,<15.0a0|9.*']
cudnn=8.1 -> vc[version='>=14.1,<15.0a0']
cudnn=8.1 -> cudatoolkit=11 -> vc[version='>=14.1,<15']
wincertstore -> vc[version='>=14.1,<15.0a0']
wincertstore -> python[version='>=3.7,<3.8.0a0'] -> vc[version='14.*|9.*']

Package vs2015_runtime conflicts for:
cudnn=8.1 -> vs2015_runtime[version='>=14.16.27012']
wheel -> python -> vs2015_runtime[version='>=14.16.27012,<15.0a0']
cudatoolkit=11.2 -> vs2015_runtime[version='>=14.16.27033']
openssl -> vc[version='>=14.1,<15.0a0'] -> vs2015_runtime[version='>=14.0.25123,<15.0a0|>=14.0.25420|>=14.15.26706|>=14.27.29016|>=14.16.27012']
cudatoolkit=11.2 -> vc[version='>=14.1,<15'] -> vs2015_runtime[version='>=14.15.26706|>=14.27.29016|>=14.16.27012']
setuptools -> python[version='>=3.7,<3.8.0a0'] -> vs2015_runtime[version='>=14.16.27012,<15.0a0']
wincertstore -> vc[version='>=14.1,<15.0a0'] -> vs2015_runtime[version='>=14.15.26706|>=14.27.29016|>=14.16.27012']
wincertstore -> vs2015_runtime[version='>=14.16.27012,<15.0a0']
vc -> vs2015_runtime[version='>=14.0.25123,<15.0a0|>=14.0.25420|>=14.15.26706|>=14.27.29016|>=14.16.27012']
cudnn=8.1 -> cudatoolkit=11 -> vs2015_runtime[version='>=14.15.26706|>=14.16.27012,<15.0a0|>=14.16.27033|>=14.27.29016']
certifi -> python[version='>=3.7,<3.8.0a0'] -> vs2015_runtime[version='>=14.16.27012,<15.0a0']
pip -> python[version='>=3.7,<3.8.0a0'] -> vs2015_runtime[version='>=14.16.27012,<15.0a0']
sqlite -> vs2015_runtime[version='>=14.16.27012,<15.0a0']
sqlite -> vc[version='>=14.1,<15.0a0'] -> vs2015_runtime[version='>=14.0.25123,<15.0a0|>=14.0.25420|>=14.15.26706|>=14.27.29016|>=14.16.27012']
openssl -> vs2015_runtime[version='>=14.16.27012,<15.0a0']

Package vs2008_runtime conflicts for:
sqlite -> vc=9 -> vs2008_runtime[version='>=9.0.30729.1,<10.0a0']
certifi -> python -> vs2008_runtime
vc -> vs2008_runtime[version='>=9.0.30729.1,<10.0a0']
setuptools -> python[version='>=2.7,<2.8.0a0'] -> vs2008_runtime
wheel -> python -> vs2008_runtime
wincertstore -> python[version='>=2.7,<2.8.0a0'] -> vs2008_runtime
openssl -> vc=9 -> vs2008_runtime[version='>=9.0.30729.1,<10.0a0']
pip -> python[version='>=2.7,<2.8.0a0'] -> vs2008_runtime

Package wincertstore conflicts for:
pip -> setuptools -> wincertstore[version='>=0.2']
wheel -> setuptools -> wincertstore[version='>=0.2']
setuptools -> wincertstore[version='>=0.2']

Package ca-certificates conflicts for:
certifi -> python -> ca-certificates
openssl -> ca-certificates
wheel -> python -> ca-certificates
setuptools -> python[version='>=2.7,<2.8.0a0'] -> ca-certificates
pip -> python[version='>=2.7,<2.8.0a0'] -> ca-certificates
wincertstore -> python[version='>=2.7,<2.8.0a0'] -> ca-certificates

Package xz conflicts for:
pip -> python[version='>=3.10,<3.11.0a0'] -> xz[version='>=5.2.5,<6.0a0|>=5.2.6,<6.0a0|>=5.2.8,<6.0a0']
wheel -> python -> xz[version='>=5.2.5,<6.0a0|>=5.2.6,<6.0a0|>=5.2.8,<6.0a0']
wincertstore -> python[version='>=3.10,<3.11.0a0'] -> xz[version='>=5.2.5,<6.0a0|>=5.2.6,<6.0a0|>=5.2.8,<6.0a0']
certifi -> python[version='>=3.10,<3.11.0a0'] -> xz[version='>=5.2.5,<6.0a0|>=5.2.6,<6.0a0|>=5.2.8,<6.0a0']
setuptools -> python[version='>=3.10,<3.11.0a0'] -> xz[version='>=5.2.5,<6.0a0|>=5.2.6,<6.0a0|>=5.2.8,<6.0a0']

Package colorama conflicts for:
python=3.7.9 -> pip -> colorama
pip -> colorama

Package pip conflicts for:
wheel -> python -> pip
setuptools -> python[version='>=3.7,<3.8.0a0'] -> pip
wincertstore -> python[version='>=3.7,<3.8.0a0'] -> pip
certifi -> python[version='>=3.7,<3.8.0a0'] -> pip

Package openssl conflicts for:
wincertstore -> python[version='>=3.7,<3.8.0a0'] -> openssl[version='>=1.1.1a,<1.1.2a|>=1.1.1b,<1.1.2a|>=1.1.1c,<1.1.2a|>=1.1.1d,<1.1.2a|>=1.1.1e,<1.1.2a|>=1.1.1f,<1.1.2a|>=1.1.1g,<1.1.2a|>=1.1.1j,<1.1.2a|>=1.1.1k,<1.1.2a|>=1.1.1n,<1.1.2a|>=1.1.1q,<1.1.2a|>=1.1.1s,<1.1.2a|>=1.1.1l,<1.1.2a|>=1.1.1i,<1.1.2a|>=1.1.1h,<1.1.2a']
setuptools -> python[version='>=3.7,<3.8.0a0'] -> openssl[version='>=1.1.1a,<1.1.2a|>=1.1.1b,<1.1.2a|>=1.1.1c,<1.1.2a|>=1.1.1d,<1.1.2a|>=1.1.1e,<1.1.2a|>=1.1.1f,<1.1.2a|>=1.1.1g,<1.1.2a|>=1.1.1j,<1.1.2a|>=1.1.1k,<1.1.2a|>=1.1.1n,<1.1.2a|>=1.1.1q,<1.1.2a|>=1.1.1s,<1.1.2a|>=1.1.1l,<1.1.2a|>=1.1.1i,<1.1.2a|>=1.1.1h,<1.1.2a']
wheel -> python -> openssl[version='>=1.1.1a,<1.1.2a|>=1.1.1b,<1.1.2a|>=1.1.1c,<1.1.2a|>=1.1.1d,<1.1.2a|>=1.1.1e,<1.1.2a|>=1.1.1f,<1.1.2a|>=1.1.1g,<1.1.2a|>=1.1.1h,<1.1.2a|>=1.1.1i,<1.1.2a|>=1.1.1j,<1.1.2a|>=1.1.1k,<1.1.2a|>=1.1.1l,<1.1.2a|>=1.1.1n,<1.1.2a|>=1.1.1q,<1.1.2a|>=1.1.1s,<1.1.2a']
pip -> python[version='>=3.7,<3.8.0a0'] -> openssl[version='>=1.1.1a,<1.1.2a|>=1.1.1b,<1.1.2a|>=1.1.1c,<1.1.2a|>=1.1.1d,<1.1.2a|>=1.1.1e,<1.1.2a|>=1.1.1f,<1.1.2a|>=1.1.1g,<1.1.2a|>=1.1.1j,<1.1.2a|>=1.1.1k,<1.1.2a|>=1.1.1n,<1.1.2a|>=1.1.1q,<1.1.2a|>=1.1.1s,<1.1.2a|>=1.1.1l,<1.1.2a|>=1.1.1i,<1.1.2a|>=1.1.1h,<1.1.2a']
certifi -> python[version='>=3.7,<3.8.0a0'] -> openssl[version='>=1.1.1a,<1.1.2a|>=1.1.1b,<1.1.2a|>=1.1.1c,<1.1.2a|>=1.1.1d,<1.1.2a|>=1.1.1e,<1.1.2a|>=1.1.1f,<1.1.2a|>=1.1.1g,<1.1.2a|>=1.1.1j,<1.1.2a|>=1.1.1k,<1.1.2a|>=1.1.1n,<1.1.2a|>=1.1.1q,<1.1.2a|>=1.1.1s,<1.1.2a|>=1.1.1l,<1.1.2a|>=1.1.1i,<1.1.2a|>=1.1.1h,<1.1.2a']

Package setuptools conflicts for:
pip -> setuptools
wheel -> setuptools

Package certifi conflicts for:
pip -> setuptools -> certifi[version='>=2016.09|>=2016.9.26|>=2017.4.17']
setuptools -> certifi[version='>=2016.09|>=2016.9.26']
wheel -> setuptools -> certifi[version='>=2016.09|>=2016.9.26']

我的环境:

win11
cudatoolkit=11.2.2 和 cudnn=8.1.0
python 3.7.9
  • 写回答

1条回答 默认 最新

  • Eliot5566 2023-02-04 18:30
    关注

    你的 Python 版本(3.7.9)和所请求的 tensorflow-GPU(2.6.0)的要求不兼容

    conda install tensorflow-GPU=2.5

    评论 编辑记录

报告相同问题?

问题事件

  • 已结题 (查看结题原因) 2月6日
  • 创建了问题 2月4日

悬赏问题

  • ¥15 这种微信登录授权 谁可以做啊
  • ¥15 请问我该如何添加自己的数据去运行蚁群算法代码
  • ¥20 用HslCommunication 连接欧姆龙 plc有时会连接失败。报异常为“未知错误”
  • ¥15 网络设备配置与管理这个该怎么弄
  • ¥20 机器学习能否像多层线性模型一样处理嵌套数据
  • ¥20 西门子S7-Graph,S7-300,梯形图
  • ¥50 用易语言http 访问不了网页
  • ¥50 safari浏览器fetch提交数据后数据丢失问题
  • ¥15 matlab不知道怎么改,求解答!!
  • ¥15 永磁直线电机的电流环pi调不出来