xuwenhao / geektime-ai-course

Jupyter Notebooks for Geektime AI Course
MIT License
767 stars 278 forks source link

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

Open eratel opened 5 months ago

eratel commented 5 months ago

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 commented 5 months ago

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

LibMambaUnsatisfiableError: Encountered problems while solving:

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 commented 1 month ago

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