Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

版本不对,你是python什么版本 #19

Open
eratel opened this issue May 24, 2024 · 2 comments
Open

版本不对,你是python什么版本 #19

eratel opened this issue May 24, 2024 · 2 comments

Comments

@eratel
Copy link

eratel commented May 24, 2024

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
notebook 7.2.0 requires jupyterlab<4.3,>=4.2.0, but you have jupyterlab 4.0.9 which is incompatible.

@eratel
Copy link
Author

eratel commented May 29, 2024

(base) ➜ geektime-ai-course git:(main) ✗ conda env create -f conda-env.yml
Channels:

  • defaults
  • conda-forge
    Platform: osx-64
    Collecting package metadata (repodata.json): done
    Solving environment: failed
    Channels:
  • defaults
  • conda-forge
    Platform: osx-64
    Collecting package metadata (repodata.json): done
    Solving environment: failed

LibMambaUnsatisfiableError: Encountered problems while solving:

  • package notebook-6.5.3-py310hecd8cb5_0 requires jupyter_client >=5.3.4,<8, but none of the providers can be installed

Could not solve for environment specs
The following packages are incompatible
├─ jupyter_client ==8.1.0 py310hecd8cb5_0 is requested and can be installed;
├─ notebook ==6.5.3 py310hecd8cb5_0 is installable and it requires
│ └─ jupyter_client >=5.3.4,<8 with the potential options
│ ├─ jupyter_client [5.3.4|6.0.0|...|7.4.9] conflicts with any installable versions previously reported;
│ ├─ jupyter_client 5.3.4 would require
│ │ └─ python_abi * *_cp27m, which can be installed;
│ ├─ jupyter_client 5.3.4 would require
│ │ └─ python_abi * *_cp36m, which can be installed;
│ ├─ jupyter_client 5.3.4 would require
│ │ └─ python_abi * *_cp37m, which can be installed;
│ └─ jupyter_client 5.3.4 would require
│ └─ python_abi * *_cp38, which can be installed;
└─ python_abi ==3.10 2_cp310 is not installable because it conflicts with any installable versions previously reported.

@ruibin
Copy link

ruibin commented Sep 21, 2024

把yml文件里jupyter_client这个删掉, notebook需要的版本和里面写的版本冲突

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants