Created a Python distributed exe on Windows 10 that is using 
the TkTreeCtrl module. I created the program using pyinstaller --noconsole 
--onefile test.py.

Can run the program from the cmd prompt. Can run the program in the IDLE 
environment. But can't click on the exe in the dist folder and have it 
successfully run.

Tried modifying the .spec file to include the locations of the tktreectrl 
and treectrl folders. Also tried modifying the .spec file to include the 
tcl, tkinter, and Tktreectrl as hiddenimports. I've also set the debug 
option so that I can trace the issue when running the exe.

When I run the exe by clicking on it in the dist folder, I get the error 
message ...failed to execute script test.py... and then I get the message 
...can't find package treectrl.

Tktreectrl folder is a subfolder of the python37\lib\sitepackage folder.

treectrl folder (2.4.1) is a subfolder of the python\tcl folder.

Anyone have a clue how to resolve this?

-- 
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/d5c52e32-3c5a-456c-aeed-58b0a0a501fdn%40googlegroups.com.

Reply via email to