Miłosz Wodarczyk
Miłosz Wodarczyk

Reputation: 13

cannot import name 'configure_inline_support

I install matplotlib package with conda and then try to run below code with jupyter notebook:

from pylab import plt, mpl
plt.style.use('seaborn')
mpl.rcParams['font.family'] = 'serif'
%matplotlib inline

Unfortunately i got below error:

ImportError: cannot import name 'configure_inline_support' from 'ipykernel.pylab.backend_inline' 

Also checked and ipykernel is also installed.

Do you know what is the problem?

Upvotes: 1

Views: 522

Answers (1)

furas
furas

Reputation: 142631

I reproduced problem with fresh installed Jupyter Notebook on Python 3.9 on Linux Mint.

After updating matplotlib (to newest 3.4.1) it dissaperd.

sudo python3.9 -m pip install -U matplotlib

Next I had problem with some kiwisolver.

ModuleNotFoundError: No module named 'kiwisolver'

But updating it (to newest 1.3.1) resolved this problem.

sudo python3.9 -m pip install -U kiwisolver

Now it works for me.

Upvotes: 1

Related Questions