Dave wrote:
> I upgraded my numpy to 1.4.0.dev7375 and scipy to 0.8.0.dev5920. After doing 
> so
> I get a segfault upon calling the plot command (see below)
> 
> I guess I need to compile from source but I'm not sure exactly how to do so -
> are there any good step-by-step instructions out there?
> 
> Thanks,
> Dave
> 
> Python 2.5.4 (r254:67916, Dec 23 2008, 15:10:54) [MSC v.1310 32 bit (Intel)]
> Type "copyright", "credits" or "license" for more information.
> 
> IPython 0.10 -- An enhanced Interactive Python.
> ?         -> Introduction and overview of IPython's features.
> %quickref -> Quick reference.
> help      -> Python's own help system.
> object?   -> Details about 'object'. ?object also works, ?? prints more.
> 
> 
> *** Pasting of code with ">>>" or "..." has been enabled.
> 
> In [2]: from numpy import *
> 
> In [3]: from pylab import *
> 
> In [4]: import numpy; numpy.__version__
> Out[4]: '1.4.0.dev7375'
> 
> In [5]: plot(randn(100))


What happens if you simply do

x = randn(100)

or

plot([1,2,3,2,1])

?

My guess is that you are seeing a numpy installation problem, not a 
matplotlib problem (that is, I expect the first trial above to fail and 
the second to succeed), and that the problem may be that you did not 
delete the build directory before rebuilding numpy from source. 
Distutils often fails to rebuild components that need to be recompiled 
after a change to the source, so the build and install appear to work, 
but the resulting numpy (or matplotlib, for that matter) does not.

Eric

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to