ImportError Traceback (most recent call last) <ipython-input-1-085c0287ecb5> in <module>() ----> 1 import seaborn ImportError: No module named 'seaborn'
Hi, i'm having trouble importing seaborn in a jupyter notebook. Please help
'/home/user/anaconda2/envs/py35/bin/python3'$conda remove jupyter
Aha! even though I commented anaconda2 out in my bashrc, somehow jupyter is still being run from there.
$rm -rf ~/home/user/anaconda2
$reboot
[E 16:59:19.430 NotebookApp] Failed to run command:
['/home/user/anaconda2/envs/py35/bin/python3'
No module named seaborn
I understand OP already had a solution.
This may be an alternative solution to anyone who got this error in Jupyter Notebook.
For the record so anyone may search:
Deactivating the virtual environment and then $pip3 install seaborn probably solved this problem for me. Maybe because Jupyter notebook may not depend on this virtual environment.
Remember to restart terminal and launch new jupyter browser session.