Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pyinstaller error
#2
I am a new Python user and have written a gui app using tkinter on Windows using Visual Studio 2022 to edit and debug the code. Now I am trying to figure out how to package the application for sharing with users.

I am trying to use pyinstaller to package the app for publishing and distribution. I get a hard error similar to the OP of this thread. Here is the last fragment from the pyinstaller output (with log-level DEBUG)

Error:
File "C:\Users\Rick\AppData\Local\Programs\Python\Python310\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 2143, in _load_module src = loader.get_source(partname) File "<frozen importlib._bootstrap_external>", line 940, in get_source File "<frozen importlib._bootstrap_external>", line 713, in decode_source UnicodeDecodeError: 'utf-8' codec can't decode byte 0x96 in position 5582: invalid start byte
I have uploaded a large zip file of my entire project, and the complete output from pyinstaller to the following dropbox link:

Dropbox link to project files

Any help is greatly appreciated.
Reply


Messages In This Thread
Pyinstaller error - by amdi40 - Jun-04-2022, 09:10 AM
RE: Pyinstaller error - by astroman133 - Sep-17-2022, 01:52 PM
RE: Pyinstaller error - by astroman133 - Sep-19-2022, 12:58 PM
RE: Pyinstaller error - by Axel_Erfurt - Sep-19-2022, 07:48 PM
RE: Pyinstaller error - by astroman133 - Sep-19-2022, 09:51 PM
RE: Pyinstaller error - by Axel_Erfurt - Sep-20-2022, 03:41 PM
RE: Pyinstaller error - by astroman133 - Sep-20-2022, 03:50 PM
RE: Pyinstaller error - by Axel_Erfurt - Sep-20-2022, 04:13 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Using pyinstaller with .ui GUI files - No such file or directory error diver999 3 3,708 Jun-27-2023, 01:17 PM
Last Post: diver999
  Pyinstaller to exe error Tyrel 3 1,832 Aug-26-2021, 06:54 AM
Last Post: buran
  error SimpleITK module with pyinstaller PythonCode12 0 1,633 Jul-08-2020, 12:07 PM
Last Post: PythonCode12
  Pyinstaller create this error :“File ”multiprocessing\connection.py“, line 691 Formationgrowthhacking 2 3,702 Apr-30-2020, 10:26 AM
Last Post: buran
  Error ' Attribute error: 'str' object has no attribute 'items'' in pyinstaller manhnt 2 8,988 Nov-04-2018, 05:51 PM
Last Post: Larz60+
  Error with using pyinstaller to convert python script in Mac OS Takeshio 2 5,468 Oct-19-2018, 02:42 PM
Last Post: Takeshio
  pyinstaller error aquilino67 3 6,245 Feb-21-2018, 11:18 PM
Last Post: aquilino67

Forum Jump:

User Panel Messages

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