Skip to content
Home » ValueError: Mime type rendering requires nbformat>=4.2.0 but it is not installed

ValueError: Mime type rendering requires nbformat>=4.2.0 but it is not installed

To solve ValueError: Mime type rendering requires nbformat>=4.2.0 but it is not installed follow any of the below methods.

Error log

522                 "Mime type rendering requires nbformat>=4.2.0 but it is not installed"
523             )

ValueError: Mime type rendering requires nbformat>=4.2.0 but it is not installed

How to solve ValueError: Mime type rendering requires nbformat>=4.2.0 but it is not installed ?

Use the below solution to get rid of the issue.

Reinstall ipykernel using pipenv install ipykernel or run the below command

pip install --upgrade nbformat

Once you have installed nbformat then restart the kernal.

Hope it solves the issue.

Similar Errors:
TypeError: runfile() got an unexpected keyword argument ‘current_namespace’
Deprecation warning from Jupyter: “`should_run_async` will not call `transform_cell` automatically in the future”