[Pythonmac-SIG] scipy.optimize
Jon Peirce
Jonathan.Peirce at nottingham.ac.uk
Sun Nov 12 14:56:22 CET 2006
I've tried installing numpy(1.0) and scipy(0.51) from Bob's repository
of universal installers
http://pythonmac.org/packages/py24-fat/index.html
Most of the libs seem to work fine but I can't import optimize from scipy.
On a PPC running python 2.4, OS X 10.4.8 I get the error message:
> >>>from scipy import 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 25, 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/2.4/lib/python2.4/site-packages/scipy/
> optimize/minpack2.so: Symbol not found: _sprintf$LDBLStub
> Referenced from: /Library/Frameworks/Python.framework/Versions/2.4/
> lib/python2.4/site-packages/scipy/optimize/minpack2.so
> Expected in: dynamic lookup
On an Intel Mac I get (the slightly different):
>
> 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 25, 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: Inappropriate file type for dynamic loading
Does anyone know why? Has minpack2 compiled incorrectly (or maybe not
been recompiled)?
cheers
Jon
This message has been checked for viruses but the contents of an attachment
may still contain software viruses, which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/pythonmac-sig/attachments/20061112/06d68948/attachment.html
More information about the Pythonmac-SIG
mailing list