I'm trying to covert a python tkinder gui into an executable for my
collogues with pyinstaller. The console output states that it always runs
successfully however when I try to open the .exe I get an error message
saying
Windows cannot access the specified device, path, or file. You may not have
the appropriate permissions to access them.
I can't find anything online that has been helpful and I'm hoping someone
might be able to give me a useful hint here.
My initial run is with "pyinstaller my_script.py --onefile --windowed" and
after the spec is created I'll update the datas array to include
a .json file that is needed for the script in the form
of "datas=[('my_json.json', '.')]," (it lives in the same folder as the
python script). After all this I'll rerun pyinstaller as "pyinstaller
my_script.spec". But still no luck.
I've notice that in other forums when people post their console output
there's a line that states: 3780 INFO: Updating manifest in
"C:\Users\PATH_TO_THEIR_SCRIPT\dist\their_script.exe"
Where as mine states: 3780 INFO: Updating manifest in
"C:\Users\PATH_TO_MY_SCRIPT\dist\my_script.exe.notanexecutable"
Why does mine have the "notanexecutable" appended?
--
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/9de73dd7-cdc5-41c4-984e-16390ad7a59cn%40googlegroups.com.