Matthew Trentacoste wrote: > Hey. I'm trying to get numpy up and running on SuSE 10.1 and not > having much luck. > > I've been working with 1.0b2 and can get it to install without any > errors, but can't do anything with it. I run a local install of > python 2.4.3 just to keep out of whatever weirdness gets installed on > my machine by our sysadmins. Pretty standard fare, untar the ball, > and './setup.py install --prefix=$HOME/local' > > It will complete that without issue, but when I try to run the test, > I get: > > Python 2.4.3 (#1, Aug 15 2006, 18:09:56) > [GCC 4.1.0 (SUSE Linux)] on linux2 > Type "help", "copyright", "credits" or "license" for more information. > >>> import numpy > >>> numpy.test(1) > Traceback (most recent call last): > File "<stdin>", line 1, in ? > File "/home/m/mmt/local/lib/python2.4/site-packages/numpy/ > __init__.py", line 77, in test > return NumpyTest().test(level, verbosity) > File "/home/m/mmt/local/lib/python2.4/site-packages/numpy/testing/ > numpytest.py", line 285, in __init__ > from numpy.distutils.misc_util import get_frame > File "/home/m/mmt/local/lib/python2.4/site-packages/numpy/ > distutils/__init__.py", line 5, in ? > import ccompiler > File "/home/m/mmt/local/lib/python2.4/site-packages/numpy/ > distutils/ccompiler.py", line 6, in ? > from distutils.ccompiler import * > File "/home/m/mmt/local/lib/python2.4/site-packages/numpy/ > distutils/__init__.py", line 5, in ? > import ccompiler > File "/home/m/mmt/local/lib/python2.4/site-packages/numpy/ > distutils/ccompiler.py", line 7, in ? > from distutils import ccompiler > ImportError: cannot import name ccompiler > >
This seems to be a path issue. Can you give us import sys print sys.path() -Travis ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Numpy-discussion mailing list Numpy-discussion@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/numpy-discussion