Error importing Seaborn module in Python
Error importing Seaborn module in Python
I had faced the same problem. Restarting the notebook solved my problem.
If that doesnt solve the problem, you can try this
pip install seaborn
Edit
As few people have posted in the comments, you can also use
python -m pip install seaborn
Plus, as per https://bugs.python.org/issue22295 it is a better way because in this case, you can specify which version of python (python3 or python2) to use for running pip
As @avp says the bash line pip install seaborn
should work
I just had the same problem and and restarting the notebook didnt seem to work but running the command as jupyter line magic was a neat way to fix the problem without restarting the notebook
Jupyter Code-Cell:
%%bash
pip install seaborn
Error importing Seaborn module in Python
I had the same problem and I am using iPython. pip or conda by itself did not work for me but when I use !conda it did work.
!conda install seaborn