jupyter-book
jupyter-book copied to clipboard
Installation Error with referencing
Describe the bug
context I fresh-downloaded mambaforge OS X, arm64 (Apple Silicon) (Mambaforge-MacOSX-arm64)
I am using MBP 14" [2021, macOS 13.1, M1Pro(6P+2E/G16c/N16c/32G)] with python 3.10.12 mamba 1.4.9 conda 23.7.2
bug
> mamba install -c conda-forge jupyter-book --yes
Looking for: ['jupyter-book']
conda-forge/osx-arm64 Using cache
conda-forge/noarch Using cache
pkgs/main/osx-arm64 No change
pkgs/r/osx-arm64 No change
pkgs/main/noarch No change
pkgs/r/noarch No change
Pinned packages:
- python 3.10.*
Could not solve for environment specs
The following packages are incompatible
├─ jupyter-book is installable with the potential options
│ ├─ jupyter-book [0.10.1|0.10.2|0.8.2] would require
│ │ ├─ jupytext >=1.8.0,<1.11 , which requires
│ │ │ └─ markdown-it-py [>=0.5.2,<0.6 |>=0.6,<0.7 ], which requires
│ │ │ └─ attrs >=19.3,<21 , which can be installed;
│ │ └─ myst-nb >=0.10.1,<0.11 , which requires
│ │ └─ myst-parser >=0.12.9,<0.13 , which requires
│ │ └─ markdown-it-py ~=0.5.4 , which can be installed (as previously explained);
│ ├─ jupyter-book [0.11.1|0.11.2|0.11.3] would require
│ │ └─ sphinx-external-toc [~=0.2.0 |~=0.2.1 ] with the potential options
│ │ ├─ sphinx-external-toc 0.2.0 would require
│ │ │ └─ attrs >=19.2,<21 , which can be installed;
│ │ ├─ sphinx-external-toc [0.2.1|0.2.2] would require
│ │ │ └─ attrs >=19.2,<22 , which can be installed;
│ │ └─ sphinx-external-toc [0.2.3|0.2.4|0.3.1] would require
│ │ └─ attrs >=20.3,<22 , which can be installed;
│ └─ jupyter-book [0.12.0|0.12.1|...|0.15.1] would require
│ └─ sphinx-external-toc [>=0.2.3,<0.3 |>=0.2.3,<0.3.0 |>=0.3.1,<0.4.0 ], which can be installed (as previously explained);
└─ referencing is not installable because it requires
└─ attrs >=22.2.0 , which conflicts with any installable versions previously reported.
problem I restarted, retried multiple times but keep failing.
Reproduce the bug
mamba install -c conda-forge jupyter-book --yes
List your environment
❯ jupyter-book --version
zsh: command not found: jupyter-book
I also got
Could not solve for environment specs
The following packages are incompatible
In my case, it was because I didn't include the conda-forge channel. I know that's not your issue, but sharing in case anyone else stumbles upon this.