Tommy Grav wrote: > I am trying to import scipy.optimize on my Mac OS X PowerPc and get > this error > > [EMAIL PROTECTED] Python/Astronomy --> python > ActivePython 2.4.3 Build 11 (ActiveState Software Inc.) based on > Python 2.4.3 (#1, Apr 3 2006, 18:07:18) > [GCC 3.3 20030304 (Apple Computer, Inc. build 1666)] on darwin > Type "help", "copyright", "credits" or "license" for more information. > >>> import scipy.optimize > Traceback (most recent call last): > File "<stdin>", line 1, in ? > File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ > python2.4/site-packages/scipy/optimize/__init__.py", line 7, in ? > from optimize import * > File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ > python2.4/site-packages/scipy/optimize/optimize.py", line 26, in ? > import linesearch > File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ > python2.4/site-packages/scipy/optimize/linesearch.py", line 3, in ? > import minpack2 > ImportError: Failure linking new module: /Library/Frameworks/ > Python.framework/Versions/Current/lib/python2.4/site-packages/scipy/ > optimize/minpack2.so: Library not loaded: /usr/local/lib/libg2c.0.dylib > Referenced from: /Library/Frameworks/Python.framework/Versions/ > Current/lib/python2.4/site-packages/scipy/optimize/minpack2.so > Reason: image not found > >>> > > How do I get a hold of libg2c.0.dylib for my system?
Where did you get the scipy binary from? -- 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 _______________________________________________ Numpy-discussion mailing list [EMAIL PROTECTED] http://projects.scipy.org/mailman/listinfo/numpy-discussion