I am new to Python and just downloaded ActivePython 2.4.2.10 on my Mac PPC with OS X 10.4. I added the numpy package (0.9.6-py2.4) and it imports fine. But when I try to import scipy (0.4.8-py2.4) I get an error: >>> import scipy Traceback (most recent call last): File "<stdin>", line 1, in ? File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/scipy/__init__.py", line 32, in ? from numpy import * File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/numpy/f2py/__init__.py", line 6, in ? import tempfile File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/tempfile.py", line 33, in ? from random import Random as _Random ImportError: cannot import name Random importing random works fine, so I don't understand what the problem is. Can anyone provide any clues? Cheers Tommy http://homepage.mac.com/tgrav/ "Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction" -- Albert Einstein |
-- http://mail.python.org/mailman/listinfo/python-list