[SciPy-User] "from scipy import signal" problem

Ralf Gommers ralf.gommers at gmail.com
Sat Sep 29 09:53:43 EDT 2012


On Tue, Sep 25, 2012 at 5:35 AM, Brickle Macho <
michael at yanchepmartialarts.com.au> wrote:

> I am getting an error, see below, when I try:
>
> from scipy import signal
>
> Scipy was install via mac ports.   Not sure where to start to fix this?
> Do I need to rebuild scipy?  If so do I uninstall from Macports (and
> associated dependencies) or try
>
> Any help arrpeciated.
>

This seems to be a Macports bug: https://trac.macports.org/ticket/35141.
Rebuilding with gcc-4.4 seems to solve the issue. I don't know what the
recommended way is for uninstalling things in Macports.

In general you're probably better off using a complete distribution like
EPD instead of Macports I think.

Ralf



>
> Brickle.
>
>
> ----
> $ python test.py
> Traceback (most recent call last):
>    File "test.py", line 3, in <module>
>      from scipy import signal
>    File
>
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/scipy/signal/__init__.py",
> line 198, in <module>
>      from spline import *
> ImportError:
>
> dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/scipy/signal/spline.so,
> 2): Symbol not found: ___ieee_divdc3
>    Referenced from:
>
> /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/scipy/signal/spline.so
>    Expected in: flat namespace
>   in
>
> /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/scipy/signal/spline.so
> _______________________________________________
> SciPy-User mailing list
> SciPy-User at scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20120929/dbc67e7f/attachment.html>


More information about the SciPy-User mailing list