nbconvert AttributeError: module ‘mistune‘ has no attribute ‘BlockGrammar‘

nbconvert相关issue下的答复
The 7.x line imports BlockParser, not BlockGrammar.

Please ensure you have installed the correct versions.

Modifying for your environment management approach, in the case of pip:

pip install --upgrade 'nbconvert>=7' 'mistune>=2'

Or conda.


conda install -c conda-forge 'nbconvert>=7' 'mistune>=2`

你可能感兴趣的:(Python,python,linux)