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

On Wed, Apr 28, 2021, 14:03 Raphael Moreau <[email protected]> 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
> <http://disq.us/url?url=http%3A%2F%2FMapMerger.py%3AoUu7UH9vXzHK9cR7efq1Tsp6I9A&cuid=5463960>",
> line 6, in <module>
> File "PyInstaller\loader\pyimod03_importers.py
> <http://disq.us/url?url=http%3A%2F%2Fpyimod03_importers.py%3AaQ1NPchDwM6CuoS_rQBypYEBwZw&cuid=5463960>",
> line 540, in exec_module
> File "mpl_interactions\__init__.py
> <http://disq.us/url?url=http%3A%2F%2F__init__.py%3Atl4ECH_qHGyhBowR1B9EPHbE-MQ&cuid=5463960>",
> line 2, in <module>
> File "PyInstaller\loader\pyimod03_importers.py
> <http://disq.us/url?url=http%3A%2F%2Fpyimod03_importers.py%3AaQ1NPchDwM6CuoS_rQBypYEBwZw&cuid=5463960>",
> line 540, in exec_module
> File "mpl_interactions\generic.py
> <http://disq.us/url?url=http%3A%2F%2Fgeneric.py%3AxbhUQKTxPwYOi1882EH9hJYRBEk&cuid=5463960>",
> line 13, in <module>
> File "PyInstaller\loader\pyimod03_importers.py
> <http://disq.us/url?url=http%3A%2F%2Fpyimod03_importers.py%3AaQ1NPchDwM6CuoS_rQBypYEBwZw&cuid=5463960>",
> line 540, in exec_module
> File "mpl_interactions\helpers.py
> <http://disq.us/url?url=http%3A%2F%2Fhelpers.py%3A5admM8IduN719XrOTk_-8tJHU9k&cuid=5463960>",
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/pyinstaller/6e45c3a5-4e28-456c-8179-7457cd8d58d5n%40googlegroups.com
> <https://groups.google.com/d/msgid/pyinstaller/6e45c3a5-4e28-456c-8179-7457cd8d58d5n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CADcH5nfdJQOvdZJDuVxxmH9WZUPQ9-%2B4d5my6enz5C8oTHAhiQ%40mail.gmail.com.

Reply via email to