I'm trying to use ggplot in an Anaconda iPython notebook. I ran %matplotlib inline
and from ggplot import *
, but I just get the following error:
ImportError Traceback (most recent call last)
<ipython-input-3-02aeb6e281ab> in <module>()
----> 1 from ggplot import *
ImportError: No module named ggplot
Where in the Anaconda launcher can modules be imported?
You probably need to install ggplot via the terminal first. Assuming you already have pip installed, run this in the terminal:$ pip install ggplot
You should see the package download. Then go back to your notebook and run your same commands again.