Nat Wilson wrote: > Would anyone be willing to help me interpret an error while trying to > build and install Numpy? I've searched around, and haven't seen this > elsewhere. > > I've been running into this wall for about half the day now. I've > tried reinstalling Python, using numpy 1.2.0 and 1.2.1. > > I have Python 2.6.1, running on OS X 10.4.11, with a G4 PPC processor. > > Here's the print out: > > Ganymede:~/Desktop/numpy-1.2.1 username$ python setup.py build > Running from numpy source directory. > Traceback (most recent call last): > File "setup.py", line 96, in <module> > setup_package() > File "setup.py", line 68, in setup_package > from numpy.distutils.core import setup > File "/Users/username/Desktop/numpy/numpy/distutils/__init__.py", > line 6, in <module> > File "/Users/username/Desktop/numpy/numpy/distutils/ccompiler.py", > line 11, in <module> > File "/Users/username/Desktop/numpy/numpy/distutils/log.py", line > 7, in <module> > File "/Users/username/Desktop/numpy/numpy/distutils/misc_util.py", > line 8, in <module> > File "/Library/Frameworks/Python.framework/Versions/2.6/lib/ > python2.6/tempfile.py", line 34, in <module> > from random import Random as _Random > File "/Library/Frameworks/Python.framework/Versions/2.6/lib/ > python2.6/random.py", line 871, in <module> > _inst = Random() > File "/Library/Frameworks/Python.framework/Versions/2.6/lib/ > python2.6/random.py", line 96, in __init__ > self.seed(x) > File "/Library/Frameworks/Python.framework/Versions/2.6/lib/ > python2.6/random.py", line 115, in seed > super(Random, self).seed(a) > SystemError: error return without exception set > > Any ideas? > I've had numpy/scipy installed in the past, but recently had to wipe > everything and start from scratch. Everything should be pretty clean > right now. Am I missing something obvious? > > Thanks, > NJW > > numpy 1.2 doesn't work with python 2.6. You'll either need to revert to python 2.5 or get the latest svn numpy (which still may have some python 2.6 glitches).
-Jeff _______________________________________________ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion