[SciPy-User] Can not import sigtools (latest svn, python 3.1)

David Cournapeau cournape@gmail....
Mon Nov 22 06:04:27 CST 2010

On Mon, Nov 22, 2010 at 8:56 PM, Nadav Horesh <nadavh@visionsense.com> wrote:
>>>> from scipy.signal import sepfir2d
> Traceback (most recent call last):
>  File "<pyshell#0>", line 1, in <module>
>    from scipy.signal import sepfir2d
>  File "/usr/lib64/python3.1/site-packages/scipy/signal/__init__.py", line 11, in <module>
>    from .fir_filter_design import *
>  File "/usr/lib64/python3.1/site-packages/scipy/signal/fir_filter_design.py", line 6, in <module>
>    import sigtools
> I edited "fir_filter_design.py" and chaned to:
> from scipy.signal import sigtools
> but then I got the error:
>  File "/usr/lib64/python3.1/site-packages/scipy/signal/__init__.py", line 7, in <module>
>    from . import sigtools
> ImportError: cannot import name sigtools

Most likely a build error: to confirm, please go into the directory
where sigtools.so is located and do a direct import:

python -c "import sigtools"

this should give a better explanation,



More information about the SciPy-User mailing list