Reputation: 5
So I just downloaded Python 3.6.1 now using pip I tried to download matplotlib.
pip install --user matplotlib
After it's "successful" download I open Python EDGE, import matplotlib only to receive this message.
NameError: name 'matplotlib' is not defined
Could previously using pip on Python 3.5 be the problem?
Upvotes: 0
Views: 59
Reputation: 94538
Install with exactly your version of Python:
python3.6 -m pip install --user matplotlib
or
C:\Python36\python.exe -m pip install --user matplotlib
The probmle is that pip
could use a different version of Python.
Upvotes: 1