limelect 47 Posted Wednesday at 08:54 AM After very long and many tries I need your help This is my script works on other Python script pyinstaller.exe --windowed D4P_export_demo.py --onefile --paths="C:\Users\LimElect\anaconda3\Lib\site-packages\delphifmx\" --name D4P_export_demo the path is not needed as I get the same Python error pyinstaller.exe --windowed D4P_export_demo.py --onefile --name D4P_export_demo It seems to find the packet but cannot use it The package is used without any problems in PyScripter warn-D4P_export_demo.txt does not show that the package is missing Any Idea? P.S. Final message 5303 INFO: Building EXE from EXE-00.toc completed successfully. Share this post Link to post
pyscripter 607 Posted Wednesday at 09:15 AM Have you followed the instructions at DelphiVCL4Python/samples/Installer at main · Embarcadero/DelphiVCL4Python (github.com) for delphivcl DelphiFMX4Python/samples/Installer at main · Embarcadero/DelphiFMX4Python (github.com) for delphifmx Share this post Link to post
limelect 47 Posted Thursday at 08:08 AM I did but still, in some places, there is a misunderstanding of mine It compiles OK but exe does not do the job where am I wrong? pythone.zip Share this post Link to post
limelect 47 Posted Thursday at 09:17 AM P.S i also changed a = Analysis( ['Project2.py'], Share this post Link to post
limelect 47 Posted Thursday at 02:16 PM I have used this site to simplify https://stackoverflow.com/questions/23594048/how-can-i-specifiy-the-spec-file-in-pyinstaller And I get the same result from the execute Something very wrong P.S I changed the datas= as needed Share this post Link to post
limelect 47 Posted Friday at 05:19 AM (edited) @pyscripter Can you plz put here an FMX or VCL Pas/PY hello World zip project that you make to an EXE. I will change the library path compile and see what happens. Thanks P.S It will be the best demo possible Edited Friday at 05:21 AM by limelect Share this post Link to post