By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,332 Members | 1,202 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,332 IT Pros & Developers. It's quick & easy.

Installing matplotlib

P: 1
I am trying to get matplotlib to work on my laptop
Windows 7, i3 processor,
I have installed python 2.7
I have also installed matplotlib using the windows binary installer from Source forge download.

I have also downloaded numpy 1.6.1 and run the setup program.

In my Matplotlibrc file and changed the "Interactive : True"

But when I open the python 2.7 (command line) and type in the following I get the following output.

does anyone have the step by step instruction on how to install and run the software?


>>> import matplotlib (

Traceback (most recent call last):
File "<pyshell#1>", line 1, in <module>
import matplotlib
File "C:\Python27\lib\site-packages\matplotlib\", line 133, in <module>
from matplotlib.rcsetup import (defaultParams,
File "C:\Python27\lib\site-packages\matplotlib\", line 19, in <module>
from matplotlib.colors import is_color_like
File "C:\Python27\lib\site-packages\matplotlib\", line 52, in <module>
import numpy as np
ImportError: No module named numpy

Mar 1 '12 #1
Share this Question
Share on Google+
2 Replies

P: 126
well it seems as if it can not find numpy. Try reinstalling it and make sure it all ends up in the correct place.
Mar 2 '12 #2

Expert 100+
P: 626
I have installed python 2.7
Do you also have Python2.6 installed. If you have more than one version of Python installed, you have to use the version that these packages installed to.
Mar 4 '12 #3

Post your reply

Sign in to post your reply or Sign up for a free account.