ValueError but it is not installed
/ 1 min read
Table of Contents
問題
jupyter でこれをやろうとしたところ、
import plotly.express as px%matplotlib inline
gapminder = px.data.gapminder()px.scatter(gapminder, x='gdpPercap', y='lifeExp', log_x=True, hover_name='country')
以下のようなエラーが出ました。
ValueError: Mime type rendering requires nbformat>=4.2.0 but it is not installed
解決方法
$ pip install nbformat$ pip install --upgrade nbformat# -> そしてカーネル再起動