Skip to content Skip to sidebar Skip to footer

Cannot Import Seaborn

I have a problem with importing seaborn. I recently installed 'anaconda' on my PC and tried to use seaborn pacjesge. I updated scipy and numpy. Actually before updating scipy pytho

Solution 1:

This finally worked for me on mac.

  1. in terminal type: iPython and hit return
  2. the interactive python terminal should appear

    IPython 4.1.2 -- An enhanced Interactive Python. ? -> Introduction and overview of IPython's features. %quickref -> Quick reference. help -> Python's own help system. object? -> Details about 'object', use 'object??' for extra details.

    In [1]:

  3. type: !pip install Seaborn

  4. You should see: Successfully built Seaborn Installing collected packages: Seaborn Successfully installed Seaborn-0.7.1

  5. Can also try (!conda instead of !pip) but !pip worked for me. Then I tried running the cell in iPython notebook that had "import Seaborn" and it worked.

Solution 2:

In my case, I just installed the jupyter again, and it works

Post a Comment for "Cannot Import Seaborn"