Pyinstaller vers. 6.11.1
from a python app, which runs from within VSCode I try to generate .exe with
pyinstaller -p
C:\users\<myname>\AppData\Roaming\Python\Python311\site-packages
-c
--onefile .<mypythonapp.py
It creates the .exe but when I run it the exe throws this error
AttributeError: module <myOtherModule> has no attribute <xyz>
<xyz> being a function, which is defined in <myOtherModule>
I am importing another Python script in my app via
import <myOtherModule>
I suspected some problems with paths and tried various but did not succeed.
It is puzzling as it did work a few monts ago, I have no clue which changes
cause now this error. I did update pyinstaller but that did not help though.
Any advice how to resolve is very welcome
--
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 visit
https://groups.google.com/d/msgid/pyinstaller/57573d67-820f-4901-9cad-6a1ab6854f05n%40googlegroups.com.