loudger.blogg.se

Pyinstaller linux
Pyinstaller linux











pyinstaller linux

You can install more than one Python’s version. Secondly choose the version accordingly to type of your system.

pyinstaller linux

So firstly you need to install Python 3.7. Pyinstaller doesn’t work properly with the newest python version which is now 3.8. I’m using Windows, but some rules are the same probably for other systems. But jumping from one page to another I figured it out. What was working in the beginning suddenly stopped working and got me very confused. But the more programs I write, the more python’s versions I have (and packages and virtual environments). I am able to write simple but useful scripts. You can create your exe file very easily also with py2exe.

  • -icon= : Choose the file to use as icon for file.
  • -windowed: Parameter to chooseif you are compiling in Mac OS X or Windows.
  • -onefile: Create a one-file bundled executable.
  • An example could be pyinstaller.exe -onefile -windowed -icon=app.ico app.py where: You can find the full list the options in the documentation. exe application you can run from the command line Once you have decided what to include in your. This command will generate a your_file_name.spec file where you can include all the dll required by your application and any custom settings ( Using Spec Files)
  • write your script and make sure that it works.
  • I would suggest to first read the Using Pyinstaller section in the documentation of the module itself.













    Pyinstaller linux