最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

python - Trying to install Jupyter in Miniconda, keep getting package incompatble error - Stack Overflow

programmeradmin2浏览0评论

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 badge
Add a comment  | 

1 Answer 1

Reset to default 0

The 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.

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论