[Environment]
I successfully ran main_for_exe.py in vscode.
When I make exe file using pyinstaller and then ran exe file, however, I have the below error message.
There were some solutions: "add module to hiddenimports"
but, it does not work.
Basic modules of python such as "os" and "sys" are successfully loaded, but "No module named numpy" error message appeared. So, I think that modules installed by 'pip' and 'conda' aren't loaded.
How do I solve this?
I solved this problem!
I just upgraded the pyinstaller package.
It seems that the pyinstaller package, before upgrade, cannot find the site-package path where the modules installed by anaconda are located. (Generally site-packe path: "~/anaconda3/lib/site-packages")
In this case, there are two solutions.