scikit-learn 1.7.0 is not correctly frozen
triage
## Description of the issue
When I freeze my program (https://github.com/kaixxx/noScribe) using the new scikit-learn 1.7.0, I get the error `No module named 'sklearn.externals.array_api_compat.numpy.fft'`. This does not happen with scikit-learn 1.6.1. Both scikit-learn 1.7.0 and 1.6.1 work, if I run the program from source. After freezing, only the version with 1.6.1 still works. This is true for PyInstaller 6.14.0 and 6.13.0.
### Context information (for bug reports)
* Output of `pyinstaller --version`: 6.14.0 and 6.13.0
* Version of Python: 3.12
* Platform: macOS 15.5; Linux (official Python3.12 docker image)
* How you installed Python: macOS: Python.org; Linux: official Python3.12 docker image
* Did you also try this on another platform? Does it work there? See the above
关闭于 2025-06-08 0 条评论