Scipy 1.16.0 has the issue : No module named scipy._cyutility during launch
state:triage
With the new version of scipy 1.16.0, there is an issue with module scipy._cyutility not found.
I added a hiddenimports = collect_submodules("scipy") in your current hook to avoid the issue.
However I think you can be more precise in your hook if you analyse the issue.
**To Reproduce**
A minimal example file:
```
from scipy import *
#do_something
```
PyInstaller command:
```
pyinstaller test.py --name test--onefile --windowed --optimize 2 --clean
```
Error:
```
Traceback (most recent call last):
File "path/to/test.py", line XX, in <module>
...
SomeTypeOfError: No module named 'scipy._cyutility'
```
**Expected behavior**
I expected my app to launch without issues.
**Screenshots**
Here is a screenshot of the issue.

**Desktop (please complete the following information):**
- OS: Windows 11
- Python Version: python 3.13
- Version of `pyinstaller-hooks-contrib`: 2025.5
- Version of PyInstaller 6.14.1
- Version of scipy 1.16.0
0 条评论