Mac OS X 10.4.11 PPC.
Installed python from this:
http://www.python.org/ftp/python/2.5.1/python-2.5.1-macosx.dmg
Installation finishes with "There were errors installing the
software. Please try installing again." Installing again makes no
difference, but Python appears to be running:
scipy-0.6.0 $ python
Python 2.5.1 (r251:54869, Apr 18 2007, 22:08:04)
[GCC 4.0.1 (Apple Computer, Inc. build 5367)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>>
Downloaded scipy from: http://prdownloads.sourceforge.net/scipy/
scipy-0.6.0.tar.gz?download
After unpacking and changing directories, simply did this:
scipy-0.6.0 $ sudo python setup.py install
Seem to finish OK. Lots of "Warnings.' But testing according to
INSTALL.txt resulted in:
scipy-0.6.0 $ python
Python 2.5.1 (r251:54869, Apr 18 2007, 22:08:04)
[GCC 4.0.1 (Apple Computer, Inc. build 5367)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import scipy
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "scipy/__init__.py", line 54, in <module>
from __config__ import show as show_config
ImportError: No module named __config__
Any ideas or advice?
Thanks
David.
_______________________________________________
SciPy-user mailing list
SciPy...@scipy.org
http://projects.scipy.org/mailman/listinfo/scipy-user
NumPy works and passes all the tests but when I do "import scipy", I get
"ImportError: No module named __config__"
Any suggestions?
> File "scipy/__init__.py", line 54, in <module>
> from __config__ import show as show_config
Don't try to import scipy while inside the source tree. Change
directories first.
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
-- Umberto Eco
> On Thu, Apr 10, 2008 at 5:46 PM, Yaroslav Bulatov <yaros...@gmail.com
> > wrote:
>> I'm having the same problem installing SciPy as the user below, I'm
>> on
>> MacOS 10.5.2, gcc 4.0.1, gfortran 4.2
>> I tried it with both MacPython and ActiveState 2.5.2 for macs, using
>> instructions on http://www.scipy.org/Installing_SciPy/Mac_OS_X
>>
>> NumPy works and passes all the tests but when I do "import scipy",
>> I get
>>
>> "ImportError: No module named __config__"
>>
>> Any suggestions?
>>
>>> File "scipy/__init__.py", line 54, in <module>
>>> from __config__ import show as show_config
>
> Don't try to import scipy while inside the source tree. Change
> directories first.
The question pops up once in a while, so I added this remark to the
wiki page mentioned above.
J.
Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm