当前位置:   article > 正文

anaconda安装python 3.11_anaconda配置python3.11

anaconda配置python3.11

最近需要测试gpt researcher项目,gpt researcher项目的环境是3.11,于是用anaconda创建一个虚拟环境,结果报错了:


UnsatisfiableError: The following specifications were found to be incompatible with each other:



Package xz conflicts for:
python=3.11 -> xz[version='>=5.2.10,<6.0a0|>=5.2.8,<6.0a0|>=5.4.2,<6.0a0']
Package pip conflicts for:
python=3.11 -> pip
Package ncurses conflicts for:
python=3.11 -> ncurses[version='>=6.3,<7.0a0|>=6.4,<7.0a0']
Package libffi conflicts for:
python=3.11 -> libffi[version='>=3.4,<3.5,>=3.4,<4.0a0']
Package ld_impl_linux-64 conflicts for:
python=3.11 -> ld_impl_linux-64[version='>=2.35.1|>=2.36.1']
Package bzip2 conflicts for:
python=3.11 -> bzip2[version='>=1.0.8,<2.0a0']
Package tzdata conflicts for:
python=3.11 -> tzdata
Package zlib conflicts for:
python=3.11 -> zlib[version='>=1.2.13,<1.3.0a0']
Package openssl conflicts for:
python=3.11 -> openssl[version='>=1.1.1s,<1.1.2a|>=1.1.1t,<1.1.2a|>=1.1.1u,<1.1.2a|>=1.1.1v,<1.1.2a|>=3.0.10,<4.0a0|>=3.0.8,<4.0a0|>=3.0.9,<4.0a0']
Package libgcc-ng conflicts for:
python=3.11 -> libgcc-ng[version='>=11.2.0']
Package tk conflicts for:
python=3.11 -> tk[version='>=8.6.12,<8.7.0a0']
Package libuuid conflicts for:
python=3.11 -> libuuid[version='>=1.41.5,<2.0a0']
Package sqlite conflicts for:
python=3.11 -> sqlite[version='>=3.40.1,<4.0a0|>=3.41.1,<4.0a0|>=3.41.2,<4.0a0']
Package readline conflicts for:
python=3.11 -> readline[version='>=8.0,<9.0a0']
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33

解决方法

conda 没有主流支持的包,一般都可以在 conda-forge 里面找,于是:

conda create -n gpt11 python=3.11 -c conda-forge
  • 1

参考文献

使用 Conda 提前体验安装 Python 3.11

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/小蓝xlanll/article/detail/631702
推荐阅读
相关标签
  

闽ICP备14008679号