Package Details: python-pyfftw 0.15.0-1

Git Clone URL: https://aur.archlinux.org/python-pyfftw.git (read-only, click to copy)
Package Base: python-pyfftw
Description: A pythonic wrapper around FFTW
Upstream URL: https://github.com/pyFFTW/pyFFTW
Licenses: BSD-3-Clause
Submitter: anntzer
Maintainer: fordprefect (carlosal1015)
Last Packager: carlosal1015
Votes: 4
Popularity: 0.000000
First Submitted: 2015-10-02 22:33 (UTC)
Last Updated: 2024-11-12 20:49 (UTC)

Latest Comments

« First ‹ Previous 1 2

E3LDDfrK commented on 2020-02-04 20:00 (UTC) (edited on 2020-02-04 21:37 (UTC) by E3LDDfrK)

edit2: Seems it's caused by outdated python-pyfftw, https://stackoverflow.com/questions/59959319/import-error-with-pyfftw-scipy-fftpack-in-python-3-8 https://github.com/pyFFTW/pyFFTW/issues/279

I got a bunch of

    from . import scipy_fftpack
  File "/home/myusername/download/python-pyfftw/src/pyFFTW-0.11.1/pyfftw/interfaces/scipy_fftpack.py", line 65, in <module>
    from scipy.fftpack import (dct, idct, dst, idst, diff, tilbert, itilbert,
ImportError: cannot import name '_fftpack' from 'scipy.fftpack' (/home/myusername/.local/lib/python3.8/site-packages/scipy/fftpack/__init__.py)

As a consequence, the build fails

==> ERROR: A failure occurred in check().

I used makepkg -si to build it. edit: And I removed pyrex from the PKGBUILD too.

E3LDDfrK commented on 2020-02-04 19:32 (UTC)

Perhaps the upstream url needs to be changed to https://github.com/pyFFTW/pyFFTW or https://pyfftw.readthedocs.io/en/latest/.

SpotlightKid commented on 2019-10-18 12:19 (UTC)

That 'pyrex' make dependency is bogus. The error mentioned by @drws below is resovled by 'cython' as a make dependency already. The SO-article he links is about a different package, that really still depends on Pyrex, but that's a very rare thing today. If you see a '*.pyx' file today, it is meant to be compiled by Cython. The package builds successfully and works without 'pyrex' installed.

Regarding the check function, you can also disable it by passing --nocheck to makepkg.

fordprefect commented on 2019-03-13 17:51 (UTC)

INFO: to speed up package build, disable tests by commenting out the check-function.

fordprefect commented on 2019-03-13 17:51 (UTC)

@drws: sorry to check back so late. The build issues were due to both pyrex and cython missing. I have added them, it should work now. If you encounter further problems, please let me know.

drws commented on 2019-03-05 11:37 (UTC)

I was sure the build went through, however, I now noticed that pyrex installation did not solve the problem.

Did anyone found a workaround yet?

drws commented on 2019-03-05 10:35 (UTC)

Another missing dependency is "pyrex". Without it the following error occurs during build:

error: unknown file type '.pyx' (from 'pyfftw/pyfftw.pyx')

An informative link on this topic: https://stackoverflow.com/questions/6846084/unknown-file-type-error-with-pyx-file

fordprefect commented on 2017-11-08 21:51 (UTC)

@zkrx: thanks, updated.

zkrx commented on 2017-11-08 14:44 (UTC)

scipy should be a dependency. Without it, I got: ERROR: test.test_pyfftw_scipy_interface (unittest.loader._FailedTest) ---------------------------------------------------------------------- ImportError: Failed to import test module: test.test_pyfftw_scipy_interface Traceback (most recent call last): File "/usr/lib/python3.6/unittest/loader.py", line 428, in _find_test_path module = self._get_module_from_name(name) File "/usr/lib/python3.6/unittest/loader.py", line 369, in _get_module_from_name __import__(name) File "/tmp/yaourt-tmp-xrn/aur-python2-pyfftw/src/pyFFTW-0.10.4/test/test_pyfftw_scipy_interface.py", line 35, in <module> from pyfftw.interfaces import scipy_fftpack File "/tmp/yaourt-tmp-xrn/aur-python2-pyfftw/src/pyFFTW-0.10.4/pyfftw/interfaces/scipy_fftpack.py", line 63, in <module> from scipy.fftpack import (dct, idct, diff, tilbert, itilbert, ModuleNotFoundError: No module named 'scipy' ---------------------------------------------------------------------- Ran 1069 tests in 307.343s FAILED (errors=1, skipped=6) ==> ERROR: A failure occurred in build(). Aborting...