Hi Brenainn,

Many a thanks for your prompt response. But now it's throwing 
*'ModuleNotFoundError: 
No module named 'scipy._lib.array_api_compat.numpy.fft' *error after 
getting the script frozen.

Traceback (most recent call last):
  File "pyprog.py", line 47, in <module>
  File "PyInstaller/loader/pyimod02_importers.py", line 419, in exec_module
  File "statsmodels/__init__.py", line 1, in <module>
  File "PyInstaller/loader/pyimod02_importers.py", line 419, in exec_module
  File "statsmodels/compat/__init__.py", line 1, in <module>
  File "PyInstaller/loader/pyimod02_importers.py", line 419, in exec_module
  File "statsmodels/tools/__init__.py", line 1, in <module>
  File "PyInstaller/loader/pyimod02_importers.py", line 419, in exec_module
  File "statsmodels/tools/tools.py", line 6, in <module>
  File "PyInstaller/loader/pyimod02_importers.py", line 419, in exec_module
  File "scipy/linalg/__init__.py", line 205, in <module>
  File "PyInstaller/loader/pyimod02_importers.py", line 419, in exec_module
  File "scipy/linalg/_basic.py", line 13, in <module>
  File "PyInstaller/loader/pyimod02_importers.py", line 419, in exec_module
  File "scipy/linalg/_decomp.py", line 24, in <module>
  File "PyInstaller/loader/pyimod02_importers.py", line 419, in exec_module
  File "scipy/_lib/_util.py", line 18, in <module>
  File "PyInstaller/loader/pyimod02_importers.py", line 419, in exec_module
  File "scipy/_lib/_array_api.py", line 21, in <module>
  File "PyInstaller/loader/pyimod02_importers.py", line 419, in exec_module
  File "scipy/_lib/array_api_compat/numpy/__init__.py", line 18, in <module>
ModuleNotFoundError: No module named 'scipy._lib.array_api_compat.numpy.fft'
[2941] Failed to execute script 'pyprog' due to unhandled exception!

Regards,
Debabrata
On Thursday, June 27, 2024 at 7:15:43 PM UTC+5:30 bwoodsend wrote:

> Just add --collect-submodules=numpy.f2py to your pyinstaller command
> ​
>

-- 
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pyinstaller/ee0601d6-54b2-41ab-b2a0-c3d41b9422fcn%40googlegroups.com.

Reply via email to