Issue
I have tried installing matplotlib different ways. I have tried
$ pip install matplotlib
and
$ easy_install matplotlib
But whenever I run my python program, I get the following error.
ImportError: No module named matplotlib
What is the best way to install python modules?
Solution
try to upgrade pip as suggested:
python -m pip install --upgrade pip
Also did you installed all the dependencies:
"For standard Python installations you will also need to install compatible versions of setuptools, numpy, python-dateutil, pytz, pyparsing, and cycler in addition to matplotlib."
Answered By - Alex L
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.