Rafael Perez Pascual wrote:

I have a Debian Ubuntu 5.10 Breeze system in an amd64 machine with

python2.4. I install numpy, scipy and matplotlib without troubles, but

when I treat to import pylab I get a segmentation fault and python

breaks.

I treat lots of thinks but nothing works, some one have an idea about

these?

Thanks

Rafael Perez

How did you install those packages? What versions? What code did you run that

segfaulted? Can you isolate a small, self-contained example that segfaults so we

can examine it? If it's a numpy or scipy problem (likely), we will be happy to

answer your questions on the appropriate list to avoid cluttering the matplotlib

list.

--

Robert Kern

robert.kern@...287...

"In the fields of hell where the grass grows high

Are the graves of dreams allowed to die."

-- Richard Harter

I got scipy-0.4.4.tar.gz from the scipy site.

I got numpy-0.9.2.tar.gz from the numpy site.

I got matplotlib-0.86.2.tar.gz from the matplotlib site.

Python2.4 and all other libs from the ubuntu repository.

I did the usualy 'python setup.py build' and 'python setup.py

install' as root in the scipy-0.4.4 , numpy-0.9.2 and

matplotlib-0.86.2 directories.

When I try to import pylab I get:

rpp@...992...:~$ python

Python 2.4.2 (#2, Sep 30 2005, 22:19:27)

[GCC 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu8)] on linux2

Type "help", "copyright", "credits" or "license" for more information.

from numpy import *

from scipy import *

Overwriting fft=<function fft at 0x2aaaad8879b0> from

scipy.fftpack.basic (was <function fft at 0x2aaaad5f0758> from

numpy.dft.fftpack)

Overwriting ifft=<function ifft at 0x2aaaad887a28> from

scipy.fftpack.basic (was <function inverse_fft at 0x2aaaad5f07d0> from

numpy.dft.fftpack)

from matplotlib import *

import pylab

Segmentation fault

rpp@...992...:~$

Another try

rpp@...992...:~$ python

Python 2.4.2 (#2, Sep 30 2005, 22:19:27)

[GCC 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu8)] on linux2

Type "help", "copyright", "credits" or "license" for more information.

import matplotlib

import pylab

Overwriting fft=<function fft at 0x2aaaaf186320> from

scipy.fftpack.basic (was <function fft at 0x2aaaad972ed8> from

numpy.dft.fftpack)

Overwriting ifft=<function ifft at 0x2aaaaf186398> from

scipy.fftpack.basic (was <function inverse_fft at 0x2aaaad972f50> from

numpy.dft.fftpack)

Segmentation fault

rpp@...992...:~$

Scipy whithout ploting works fine and very fast, but allways I try to

import pylab I get the segmentation fault.

Thak's a lot Robert

Rafael perez