1

I have a similar problem as this post, however this fix didn't work for me. I am working in Spyder, Python 3.6 and want to run ggplot. After installing ggplot with pip, I am still unable to locate the module

import ggplot
Traceback (most recent call last):

  File "<ipython-input-5-1140326dc452>", line 1, in <module>
    import ggplot

ModuleNotFoundError: No module named 'ggplot'

EDIT: I have also installed it in Anaconda Prompt with

pip install ggplot

and followed with

conda install ggplot

but have this error message

 PackageNotFoundError: Packages missing in current channels:

  - ggplot
1
  • edit: The conda install ggplot install worked with Jupyter. Forgoing Spyder. Any other solutions would still be welcome Commented Nov 30, 2017 at 11:40

1 Answer 1

0

Because you are using the Spyder environment, you need to install ggplot in a different manner, as described in this post:

conda install ggplot
Sign up to request clarification or add additional context in comments.

3 Comments

Doesn't seem like ggplot is in PyPi and I've already installed it via pip. Is there anything else I can do?
@Justin all the options are spelled out in that post.
@DerekBrown it's best to include the details of the post in the answer since the link may one day become invalid.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.