PyInstaller #8459
Unanswered
Tigran2104
asked this question in
PyInstaller
PyInstaller
#8459
Replies: 1 comment 2 replies
-
Is this an anaconda environment by any chance? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
here my code import cv2
here error installed. We have compiled some common reasons and troubleshooting tips at: https://numpy.org/devdocs/user/ troubleshooting-importerrot.html please note and check the following: The Python version is: Python3.12 from "C:Users\user\Downloads\my projects\Deep learning\output\myfile.exe" The numpy version is:'1.26.4" and make su that they are the versions you expect. please carefully study the documentation linked above for further help. original error was: DLL load failed while importing multyarray_umath: The specified module could not be found. The above exeption was the direct cause of the following exeption: traceback(mostresent call last): File''myfile.py", line 1, in File ''C:\Users\user\AppData\Local\Temp_MEI68602\cv2_init.py'',line 11, in import numpy File ''Pyinstaller\loader\pyimod02_importers.py", line 419,in exec_module file ''numpy_init_.py", line 149,in Import Error: error importing numpy: you should not try to import numpy from its source directory; please exit the numpy sourse tree, and relaunch your python interpreter from there. [10900] Failed to execute script 'myfile' due to unhandled exception! what is wrong Thanks for answer
Beta Was this translation helpful? Give feedback.
All reactions