-
Notifications
You must be signed in to change notification settings - Fork 574
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
nbconvert AttributeError: module 'mistune' has no attribute 'BlockGrammar' #1864
Comments
The nbconvert 6.x line is not compatible with mistune >=2. Please upgrade
to nbconvert 7.x.
|
Same problem although running
|
same as albe-jj |
The 7.x line imports Please ensure you have installed the correct versions. Modifying for your environment management approach, in the case of
Or
|
As we said we are using |
If you are seeing an You may have multiple, overlapping environments, user paths, |
Same problem with When
Seems like the pkg on pypi is broken? |
Reinstall nbconvert==7.2.1 with pip and |
I also had this error with: Solved by downgrading nbconvert to: |
Echoing other comments that I've also run into this today. Reinstalling nbconvert and mistune ( |
Appears to be the same problem. I updated anaconda and jupyter notebook gave me a 500 : Internal Server Error when opening a new notebook. I can see open up Jupyter notebook from anaconda navigator and see my files but when I try to open a new notebook or an existing notebook, I get the 500: Internal Server Error. Jupyter lab seems to work fine. I got this error when I attempted Zeitsperre's solution with pip in jupyter lab 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. I installed async-generator 1.10 and that fixed the error message I got when installing nbconver and mistune but jupyter notebook still has the 500 error. |
@gtyellow did you find a fix? I have the same issue - updated anaconda navigator and now none of my notebooks are working. Getting the same 500: Internal Server Error. |
I had to go back a level on anaconda navigator. Tried a bunch of stuff to upgrade and downgrade jupyter notebook and python but it didn't work until I downgraded anaconda. My current anaconda navigator version is 2.3.1 as of January 26, 2023 and I'm using it on Windows 11 version 21H2. |
I think this solution worked for me, though I have to say, as of 29th of January, before using this solution, conda asked me for update beforehand, maybe they fixed the incompatibility issue. |
suing packages in environment at /home/lwroot0/anaconda3/envs/lwp8:Name Version Build Channelnbconvert 7.9.2 pyhd8ed1ab_0 conda-forge packages in environment at /home/lwroot0/anaconda3/envs/lwp8:Name Version Build Channelmistune 3.0.2 pypi_0 pypi |
worked for me |
nbconvert 6.4.4 fails using mistune 2.0.4
Install/update your conda env to those versions (latest) and creating or accessing any notebook fails with this error:
Nbconvert version: 6.4.4
The text was updated successfully, but these errors were encountered: