xjtugzq / leaner_of_python

some question or experience during study python
0 stars 0 forks source link

cannot import name <module> in jupyter #1

Open xjtugzq opened 4 years ago

xjtugzq commented 4 years ago

When I run code import seaborn as sns in jupyter notebook, the error occuerd: cannot import name '_facet_docs' from 'seaborn.axisgrid'. but when I run it in pycharm, it's ok, why that?

xjtugzq commented 4 years ago

Thanks for the solution in https://blog.csdn.net/kaspar1992/article/details/89389119, just run pip install --upgrade pyzmq and then reboot the jupyer notebook. The error disappear.