Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Python - pyinstaller
#1
i have 3 .py that i want to turn into an .exe . the main file "main.py" compiles ok and works but i have 2 other .py files that are like widgets "insignia.py" and "wot-dds.py", when compiled the other 2 are still .py and when called looks for python to be installed to work (i want to distribute).

i tried these to compile

pyinstaller --onefile --windowed --add-data "insignia.py;." --add-data "wot-dds.py;." --add-data "texconv.exe;." main.py

pyinstaller --onefile --windowed --add-data "insignia.py;." --add-data "wot-dds.py;." --add-data "texconv.exe;." --add-data "images/gui/left-arrow.png;images/gui" --add-data "images/gui/right-arrow.png;images/gui" main.py

pyinstaller --onefile --windowed --add-data "insignia.py;." --add-data "wot-dds.py;." --add-data "images/gui/left-arrow.png;images/gui" --add-data "images/gui/right-arrow.png;images/gui" main.py
same problem for each.

any help gratefully accepted

Attached Files

.py   main.py (Size: 22 KB / Downloads: 33)
.py   insignia.py (Size: 8.85 KB / Downloads: 44)
.py   wot-dds.py (Size: 1.19 KB / Downloads: 49)
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Pyinstaller and a custom python script mentat 0 1,034 Sep-27-2024, 04:42 PM
Last Post: mentat
  Pyinstaller 3 Python 2 mckymntl 0 1,813 Feb-07-2022, 06:28 AM
Last Post: mckymntl
  Python 3.7, Windows 10, pyinstaller, winsound, no sound in executable kmarien 3 5,054 Nov-30-2020, 04:10 PM
Last Post: buran
  Cannot Change Python script to exe using Pyinstaller omar_mohsen 3 3,309 Dec-19-2019, 01:05 PM
Last Post: buran
  Error with using pyinstaller to convert python script in Mac OS Takeshio 2 6,508 Oct-19-2018, 02:42 PM
Last Post: Takeshio
  compiling python using pyinstaller sabeesh90 0 3,338 Aug-16-2018, 09:58 AM
Last Post: sabeesh90
  [split] Trouble making my first python .exe using pyinstaller. esha09 5 8,889 Apr-21-2018, 09:37 PM
Last Post: snippsat
  Problems with PyInstaller with tkinter app on python 3.5 sealyons 10 22,397 Jun-16-2017, 08:19 PM
Last Post: sealyons
  Trouble making my first python .exe using pyinstaller. PickyBiker 8 18,249 Dec-09-2016, 01:38 PM
Last Post: PickyBiker

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020