Exe file with debug --all running perfectly but not exe file

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Exe file with debug --all running perfectly but not exe file

Raphael Moreau
Dear all,

I am currently facing a strange issue using PyInstaller. When I convert my .py script to .exe in onefile the .exe stops after displaying the following error:
Traceback (most recent call last):
File "MapMerger.py", line 6, in <module>
File "PyInstaller\loader\pyimod03_importers.py", line 540, in exec_module
File "mpl_interactions\__init__.py", line 2, in <module>
File "PyInstaller\loader\pyimod03_importers.py", line 540, in exec_module
File "mpl_interactions\generic.py", line 13, in <module>
File "PyInstaller\loader\pyimod03_importers.py", line 540, in exec_module
File "mpl_interactions\helpers.py", line 16, in <module>
ModuleNotFoundError: No module named 'numpy.distutils'
[10016] Failed to execute script MapMerger

I tried to convert my .py script to .exe in onefile with the debug --all option, and when I run this .exe, everything runs fine ! Do you have an idea to explain this behaviour?

(I don't know if this issue has already been solved, if it's the case sorry for re-asking)

Best,

Raphael

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/pyinstaller/6e45c3a5-4e28-456c-8179-7457cd8d58d5n%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: Exe file with debug --all running perfectly but not exe file

Nurul Carvalho
Hello dear Raphael..
Have you tried to reinstall (globally) numpy package..

On Wed, Apr 28, 2021, 14:03 Raphael Moreau <[hidden email]> wrote:
Dear all,

I am currently facing a strange issue using PyInstaller. When I convert my .py script to .exe in onefile the .exe stops after displaying the following error:
Traceback (most recent call last):
File "MapMerger.py", line 6, in <module>
File "PyInstaller\loader\pyimod03_importers.py", line 540, in exec_module
File "mpl_interactions\__init__.py", line 2, in <module>
File "PyInstaller\loader\pyimod03_importers.py", line 540, in exec_module
File "mpl_interactions\generic.py", line 13, in <module>
File "PyInstaller\loader\pyimod03_importers.py", line 540, in exec_module
File "mpl_interactions\helpers.py", line 16, in <module>
ModuleNotFoundError: No module named 'numpy.distutils'
[10016] Failed to execute script MapMerger

I tried to convert my .py script to .exe in onefile with the debug --all option, and when I run this .exe, everything runs fine ! Do you have an idea to explain this behaviour?

(I don't know if this issue has already been solved, if it's the case sorry for re-asking)

Best,

Raphael

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/pyinstaller/6e45c3a5-4e28-456c-8179-7457cd8d58d5n%40googlegroups.com.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/pyinstaller/CADcH5nfdJQOvdZJDuVxxmH9WZUPQ9-%2B4d5my6enz5C8oTHAhiQ%40mail.gmail.com.