problem Pyinstaller-numpy #8303
Unanswered
claudiocarnevale
asked this question in
Help
Replies: 1 comment 21 replies
-
Hmm, can you attach build log as well (rebuild with |
Beta Was this translation helpful? Give feedback.
21 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Dears,
sorry if it is an already answered issue, I did not find it.
I tried to make a standalone application by Pyinstaller and I received the following error:
Traceback (most recent call last):
File "init.py", line 130, in
File "PyInstaller/loader/pyimod02_importers.py", line 385, in exec_module
File "config.py", line 4, in
File "PyInstaller/loader/pyimod02_importers.py", line 385, in exec_module
File "core/init.py", line 100, in
File "PyInstaller/loader/pyimod02_importers.py", line 385, in exec_module
File "core/_add_newdocs.py", line 4973, in
File "core/function_base.py", line 543, in add_newdoc
ModuleNotFoundError: No module named 'numpy.core._multiarray_tests'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "prova_int_pyqt.py", line 3, in
import matplotlib.pyplot as plt
File "PyInstaller/loader/pyimod02_importers.py", line 385, in exec_module
File "matplotlib/init.py", line 124, in
File "PyInstaller/loader/pyimod02_importers.py", line 385, in exec_module
File "init.py", line 135, in
ImportError: Error importing numpy: you should not try to import numpy from
its source directory; please exit the numpy source tree, and relaunch
your python interpreter from there.
[61602] Failed to execute script 'prova_int_pyqt' due to unhandled exception!
I checked the permissions and seems ok. I develop everything in a virtual env (attached the list of the installed packages in the env). It is a very "stupid" code I made to trying to understand pyqt and it run without problem with the interpreter.
I used the Conda package manager.
Thanks for help
Claudio
elenco_pacchetti.txt
Beta Was this translation helpful? Give feedback.
All reactions