Add nbformat to dependencies
See original GitHub issueApparently nbformat
is required by the latest plotly version. After a clean install if I try to plot I receive back this error
ValueError: Mime type rendering requires nbformat>=4.2.0 but it is not installed
If you want I can update the requirements that I guess are here.
Issue Analytics
- State:
- Created 4 years ago
- Comments:21 (4 by maintainers)
Top Results From Across the Web
nbformat - PyPI
This package contains the base implementation of the Jupyter Notebook format, and Python APIs for working with notebooks.
Read more >Mime type rendering requires nbformat>=4.2.0 but it is not ...
I tried pip install nbformat in the console following this feed on GitHub and this question on stackoverflow but it did not work....
Read more >Changes in nbformat - The Jupyter Notebook Format
Add ability to capture validation errors; Update supported python versions ... Don't list pytest-cov as a test dependency; Remove dependency on IPython ...
Read more >@jupyterlab/nbformat - npm
@jupyterlab/nbformat. TypeScript icon, indicating that this package has built-in type declarations ... This package does not have a README. Add a ...
Read more >jupyter-nbformat 5.7.1-1 (any) - Arch Linux
jupyter-nbformat 5.7.1-1 · Dependencies (10) · Required By (10) · Package Contents · Links to so-names.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Same issue arises when using Jupyter notebooks within VSCode, which seems to be becoming a popular Jupyter client.
Hi @rpanai thank you for the report. On top of the requirements listed in
requirements.txt
, we also have some optional requirements which are not installed by defaults.nbformat
is indeed needed to display figures in the notebook. It is a hard dependency of the jupyter-notebook package, so you must have it installed unless you have a very old version of the notebook (nbformat 4.2 was released in December 2016). Could you please confirm that you trying to plot plotly figures inside the jupyter notebook, and also check the versions of jupyter notebook and nbformat which you are using? I don’t think we will update therequirements.txt
because it’s only an optional dependency and for a large majority of users (who have updated the notebook since Dec. 2016) it will be already installed. Of course if this is more complex happy to keep on discussing this with you.