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.
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs