[SciPy-user] Ubuntu Feisty upgrade problems

Ryan Krauss ryanlists@gmail....
Thu Jun 21 19:37:05 CDT 2007


Sorry, I feel like I whine about installation problems all the time lately.

I just upgraded my home desktop to Ubuntu Feisty and have had some
issues getting Scipy working.  I think part of the problem is that
this computer was running python 2.4 and there were some problems with
side-by-side installation.  I removed all references to the 2.4
directory from my path and PYTHONPATH, but still couldn't make the
ubuntu python-scipy packages work.

Anyways, I installed from source and things seemed to go o.k., but
scipy.test() seg faulted.  I ran this script that Robert Kern helped
me come up with when I was testing my AMD executable for processors
without SSE2:

from numpy import NumpyTest

packages = """
scipy.cluster
scipy.fftpack
scipy.integrate
scipy.interpolate
scipy.io
scipy.lib
scipy.linalg
scipy.linsolve
scipy.maxentropy
scipy.misc
scipy.odr
scipy.optimize
scipy.signal
scipy.sparse
scipy.special
scipy.stats
scipy.stsci
scipy.weave
""".strip().split()

#packages.pop(0)
#packages.pop()

for subpkg in packages:
   print subpkg
   t = NumpyTest(subpkg)
   t.test(1, 2)

And I get this:
In [3]: run scipy_test.py
scipy.cluster
Warning: No test file found in
/usr/lib/python2.5/site-packages/scipy/cluster/tests for module
<module 'scipy.cluster' from '...ges/scipy/cluster/__init__.pyc'>
Warning: No test file found in
/usr/lib/python2.5/site-packages/scipy/cluster/tests for module
<module 'scipy.cluster.info' from '...ackages/scipy/cluster/info.pyc'>
  Found 9 tests for scipy.cluster.vq
  Found 0 tests for __main__
Testing that kmeans2 init methods work.Segmentation fault (core dumped)

meaning the seg fault is from scipy.cluster.  If I uncomment out the
to pop lines (not testing scipy.cluster or scipy.weave) I get no
errors.

I don't use cluster that I can think of, but I would prefer a
completely working scipy installation.

Can someone please help me with this?

Thanks,

Ryan


More information about the SciPy-user mailing list