[Numpy-discussion] Fwd: numpy 1.0b2 problems

Matthew Trentacoste mmt at cs.ubc.ca
Tue Aug 15 22:19:47 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

Once installed, it messes up trying to install anything else, so I  
have to move it out of the way in the short term.

Any thoughts?

Thanks
Matt

[  matthew m trentacoste                 mmt at cs.ubc.ca                 ]
[                                                                      ]
[  graduate student                      lead software developer       ]
[  university of british columbia        brightside technologies       ]
[  http://www.cs.ubc.ca/~mmt             http://brightsidetech.com     ]
[  +1 (604) 827-3979                     +1 (604) 228-4624             ]





More information about the Numpy-discussion mailing list