Asrarahmed, I saw this on the matplotlib site, perhaps it pertains to your situation:<br><br><font color="black">
The latest matplotlib-0.87.6 for windows was compiled with <a href="http://numpy.scipy.org/">numpy</a>
1.0rc2. Please do not upgrade matplotlib for windows if you are
running the latest numpy 1.0rc3. Check back soon as we hope to get a
binary build for the latest numpy ASAP. You can check your numpy
version by doing
<pre>>>> import numpy<br>>>> print numpy.__version__<br></pre>
Note, the latest matplotlib compiles and runs fine against the latest
numpy -- this only affects binary builds <span style="font-weight: bold;">such as the windows
installer</span>.</font><br><br><div><span class="gmail_quote">On 10/23/06, <b class="gmail_sendername">Asrarahmed Kadri</b> <<a href="mailto:ajkadri@googlemail.com">ajkadri@googlemail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>I have installed numpy but still I am not able to use matplotlib.</div>
<div>the error is same:</div>
<div>
<p>>>><br>>>> from pylab import *<br>RuntimeError: module compiled against version 1000002 of C-API but this version<br>of numpy is 1000009</p>
<p>The import of the numpy version of the nxutils module,<br>_nsnxutils, failed. This is is either because numpy was<br>unavailable when matplotlib was compiled, because a dependency of<br>_nsnxutils could not be satisfied, or because the build flag for
<br>this module was turned off in setup.py. If it appears that<br>_nsnxutils was not built, make sure you have a working copy of<br>numpy and then re-install matplotlib. Otherwise, the following<br>traceback gives more details:
</p>
<p>Traceback (most recent call last):<br> File "<stdin>", line 1, in ?<br> File "C:\python\Lib\site-packages\pylab.py", line 1, in ?<br> from matplotlib.pylab import *<br> File "C:\python\Lib\site-packages\matplotlib\pylab.py", line 199, in ?
<br> import mlab #so I can override hist, psd, etc...<br> File "C:\python\Lib\site-packages\matplotlib\mlab.py", line 64, in ?<br> import nxutils<br> File "C:\python\Lib\site-packages\matplotlib\nxutils.py", line 17, in ?
<br> from matplotlib._ns_nxutils import *<br>ImportError: numpy.core.multiarray failed to import</p></div>
<div><br><br> </div>
<div><span class="q"><span class="gmail_quote">On 10/23/06, <b class="gmail_sendername">Jason Massey</b> <<a href="mailto:jason.massey@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
jason.massey@gmail.com</a>> wrote:</span>
</span><span class="q"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;">Very possible:<br><br>For gnuplot:<br><br><a href="http://gnuplot-py.sourceforge.net/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://gnuplot-py.sourceforge.net/</a> <br><br>See the instructions for using on Windows.<br><br><br>For Matplotlib:<br><br><a href="http://matplotlib.sourceforge.net/installing.html" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://matplotlib.sourceforge.net/installing.html</a><br><br><br>Possibly what's confusing you is that both versions have external dependencies such as Numpy and Numeric (are those the same? I'll admit to being confused on the whole numpy, numeric, numarray which is which probelm). Both pages have the dependencies listed as well as links and installation instructions.
<br><br>In fact the error message you posted earlier about importing Matplotlib includes detailed information about why you couldn't import matplotlib: You didn't have numeric installed.<br><br>-<br><br>A bit of googling goes a long way.
<br><br><br><br>
<div><span><span class="gmail_quote">On 10/23/06, <b class="gmail_sendername">Asrarahmed Kadri</b> <<a href="mailto:ajkadri@googlemail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
ajkadri@googlemail.com</a>> wrote:</span></span>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><span>
<div><br clear="all"> </div>
<div> </div>
<div> </div>
<div>Is it possible to use these tools on WIndows machine ????</div></span><span><span>
<div> </div>
<div> </div>
<div><br>-- <br>To HIM you shall return. </div></span></span><br>_______________________________________________<br>Tutor maillist - <a href="mailto:Tutor@python.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
Tutor@python.org</a><br><a href="http://mail.python.org/mailman/listinfo/tutor" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://mail.python.org/mailman/listinfo/tutor</a><br><br><br></blockquote>
</div><br></blockquote></span></div><div><span class="e" id="q_10e7739df7f3f985_4"><br><br clear="all"><br>-- <br>To HIM you shall return.
</span></div></blockquote></div><br>