(Jan-13-2020, 03:15 PM)buran Wrote: In addition - according to your initial post you generate an exe (i.e. Windows executable). Then you introduce the fact you work on linux server. If you want to build executable for linux you must run pyinstaller on the target system and generate the binary there, i.e. windows exe will not run on the linux server.
I found the pyinstaller change the PYTHONPATH when generating the exe file
(Jan-14-2020, 07:23 AM)buran Wrote:U are right,I use the -F (like --onefile) option!!(Jan-14-2020, 07:09 AM)roger2020 Wrote: I generate the exe file in linux server, and usr it in linux , not windows!Hats off to you!!!
https://en.wikipedia.org/wiki/.exe
On linux pyinstaller will produce standalone binary executable, but not exe file (which is standalone executable on windows platform). And that is assuming you use --onefile option