[Numpy-discussion] Numpy 1.0b2 install issues

Matthew Trentacoste mmt at cs.ubc.ca
Tue Aug 15 21:12:49 CDT 2006


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 pretty much borks everything.  I have to remove it before I can  
try to install other packages and stuff.

Any thoughts?

Thanks
Matt




More information about the Numpy-discussion mailing list