pin-1不能安装,因为它需要python3.12,当我试图安装jupyter时

lbsnaicq  于 2024-01-05  发布在  Python
关注(0)|答案(2)|浏览(2637)
  1. Collecting package metadata (repodata.json): done
  2. Solving environment: / warning libmamba Added empty dependency for problem type SOLVER_RULE_UPDATE
  3. failed
  4. LibMambaUnsatisfiableError: Encountered problems while solving:
  5. - package jupyter-1.0.0-py27_4 requires python >=2.7,<2.8.0a0, but none of the providers can be installed
  6. Could not solve for environment specs
  7. The following packages are incompatible
  8. ├─ jupyter is installable with the potential options
  9. ├─ jupyter 1.0.0 would require
  10. └─ python >=2.7,<2.8.0a0 , which can be installed;
  11. ├─ jupyter 1.0.0 would require
  12. └─ python >=3.10,<3.11.0a0 , which can be installed;
  13. ├─ jupyter 1.0.0 would require
  14. └─ python >=3.11,<3.12.0a0 , which can be installed;
  15. ├─ jupyter 1.0.0 would require
  16. └─ python >=3.5,<3.6.0a0 , which can be installed;
  17. ├─ jupyter 1.0.0 would require
  18. └─ python >=3.6,<3.7.0a0 , which can be installed;
  19. ├─ jupyter 1.0.0 would require
  20. └─ python >=3.7,<3.8.0a0 , which can be installed;
  21. ├─ jupyter 1.0.0 would require
  22. └─ python >=3.8,<3.9.0a0 , which can be installed;
  23. └─ jupyter 1.0.0 would require
  24. └─ python >=3.9,<3.10.0a0 , which can be installed;
  25. └─ pin-1 is not installable because it requires
  26. └─ python 3.12.* , which conflicts with any installable versions previously reported.
  27. Pins seem to be involved in the conflict. Currently pinned specs:
  28. - python 3.12.* (labeled as 'pin-1')

字符串
我安装了Python 3.11,我安装的minicoda版本使用Python 3.11

66bbxpm5

66bbxpm51#

你可以这样做:

  1. conda install python=3.10

字符串
然后,执行此命令:

  1. conda install jupyter

pgx2nnw8

pgx2nnw82#

只需在您环境中安装版本介于3.10 - 3.11之间的Python即可
我只是先用这个命令解决了这个问题:
conda install python=3.10
然后:
conda install jupyter

相关问题