admin管理员组文章数量:1323382
Just started an AI / machine learning bootcamp course.
In setting up for the course, and one of the tools being discussed is setting up the correct work environment which includes installing Jupyter into an Anaconda environment.
When trying to do this through Anaconda prompts, I seem to be getting the following error. What am I doing wrong?
Code:
(base) C:\Users\taz>conda activate C:\Users\taz\OneDrive\Desktop\sample_project_1\env
(C:\Users\taz\OneDrive\Desktop\sample_project_1\env) C:\Users\taz>conda install jupyter
Channels:
- defaults
Platform: win-64
Collecting package metadata (repodata.json): done
Solving environment: / warning libmamba Added empty dependency for problem type SOLVER_RULE_UPDATE
failed
LibMambaUnsatisfiableError: Encountered problems while solving:
- package jupyter-1.0.0-py27_4 requires python >=2.7,<2.8.0a0, but none of the providers can be installed
Could not solve for environment specs
The following packages are incompatible
├─ jupyter is installable with the potential options
│ ├─ jupyter 1.0.0 would require
│ │ └─ python >=2.7,<2.8.0a0 , which can be installed;
│ ├─ jupyter 1.0.0 would require
│ │ └─ python >=3.10,<3.11.0a0 , which can be installed;
│ ├─ jupyter 1.0.0 would require
│ │ └─ python >=3.11,<3.12.0a0 , which can be installed;
│ ├─ jupyter 1.0.0 would require
│ │ └─ python >=3.12,<3.13.0a0 , which can be installed;
│ ├─ jupyter 1.0.0 would require
│ │ └─ python >=3.5,<3.6.0a0 , which can be installed;
│ ├─ jupyter 1.0.0 would require
│ │ └─ python >=3.6,<3.7.0a0 , which can be installed;
│ ├─ jupyter 1.0.0 would require
│ │ └─ python >=3.7,<3.8.0a0 , which can be installed;
│ ├─ jupyter 1.0.0 would require
│ │ └─ python >=3.8,<3.9.0a0 , which can be installed;
│ └─ jupyter 1.0.0 would require
│ └─ python >=3.9,<3.10.0a0 , which can be installed;
└─ pin-1 is not installable because it requires
└─ python 3.13.* , which conflicts with any installable versions previously reported.
PS: I have already tried uninstalling Python 3.13 and re-running above, however still got the same error.
Just started an AI / machine learning bootcamp course.
In setting up for the course, and one of the tools being discussed is setting up the correct work environment which includes installing Jupyter into an Anaconda environment.
When trying to do this through Anaconda prompts, I seem to be getting the following error. What am I doing wrong?
Code:
(base) C:\Users\taz>conda activate C:\Users\taz\OneDrive\Desktop\sample_project_1\env
(C:\Users\taz\OneDrive\Desktop\sample_project_1\env) C:\Users\taz>conda install jupyter
Channels:
- defaults
Platform: win-64
Collecting package metadata (repodata.json): done
Solving environment: / warning libmamba Added empty dependency for problem type SOLVER_RULE_UPDATE
failed
LibMambaUnsatisfiableError: Encountered problems while solving:
- package jupyter-1.0.0-py27_4 requires python >=2.7,<2.8.0a0, but none of the providers can be installed
Could not solve for environment specs
The following packages are incompatible
├─ jupyter is installable with the potential options
│ ├─ jupyter 1.0.0 would require
│ │ └─ python >=2.7,<2.8.0a0 , which can be installed;
│ ├─ jupyter 1.0.0 would require
│ │ └─ python >=3.10,<3.11.0a0 , which can be installed;
│ ├─ jupyter 1.0.0 would require
│ │ └─ python >=3.11,<3.12.0a0 , which can be installed;
│ ├─ jupyter 1.0.0 would require
│ │ └─ python >=3.12,<3.13.0a0 , which can be installed;
│ ├─ jupyter 1.0.0 would require
│ │ └─ python >=3.5,<3.6.0a0 , which can be installed;
│ ├─ jupyter 1.0.0 would require
│ │ └─ python >=3.6,<3.7.0a0 , which can be installed;
│ ├─ jupyter 1.0.0 would require
│ │ └─ python >=3.7,<3.8.0a0 , which can be installed;
│ ├─ jupyter 1.0.0 would require
│ │ └─ python >=3.8,<3.9.0a0 , which can be installed;
│ └─ jupyter 1.0.0 would require
│ └─ python >=3.9,<3.10.0a0 , which can be installed;
└─ pin-1 is not installable because it requires
└─ python 3.13.* , which conflicts with any installable versions previously reported.
PS: I have already tried uninstalling Python 3.13 and re-running above, however still got the same error.
Share Improve this question edited Jan 27 at 21:48 halfer 20.3k19 gold badges109 silver badges202 bronze badges asked Jan 13 at 8:18 Taz LTaz L 11 bronze badge1 Answer
Reset to default 0The 1st solution provided in this thread helped resolve my issue. Install jupyter despite pin-1 not installable because it requires python 3.12
Long story short: Install Python 3.10 and then re-run jupyter installer.
本文标签:
版权声明:本文标题:python - Trying to install Jupyter in Miniconda, keep getting package incompatble error - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742118000a2421557.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论