Skip to content

ModuleNotFoundError: No module named 'scipy.fft._pocketfft' #1142

@seanlaw

Description

@seanlaw

According to these recently failing tests:

https://github.com/stumpy-dev/automate/actions/runs/27837317419/job/82405841925
https://github.com/stumpy-dev/automate/actions/runs/27837448667/job/82388725360
https://github.com/stumpy-dev/automate/actions/runs/27837448733/job/82406007263

which are erroring out with:

ModuleNotFoundError: No module named 'scipy.fft._pocketfft'

It appears that _pocketfft cannot be found in https://github.com/scipy/scipy/tree/main/scipy/fft

because pocketfft has been succeeded by ducc0.fft (both of which are maintained by the same creator - mreineck):

scipy/scipy#23436

They mention:

The most significant of those from SciPy's perspective is probably that storage requirements for internally cached plans have been significantly reduced for most long 1D transforms. Plans that require more storage than 1MB will no longer be cached; this mainly affects huge 1D transforms of prime and near-prime sizes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions