[SciPy-user] Problems installing SciPy

Tommy Grav tgrav at mac.com
Wed Mar 22 11:17:24 CST 2006


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


tgrav at mac.com
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


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.scipy.net/pipermail/scipy-user/attachments/20060322/bdb34e53/attachment.htm


More information about the SciPy-user mailing list