Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pyinstaller to exe error
#1
Good day,

I am trying to convert from py to exe but i am getting an error after I have converted it when I try to run it.
I have all the modules installed that it says is missing, but it runs fine in vscode.

Image
Reply
#2
Did you read When Things Go Wrong
especially the part about helping PyInstaller Find Modules, e.g. listing hidden imports, etc.?
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

Reply
#3
so do I add --paths to the cmd command or in another file
Reply
#4
I would suggest to start with listing pystray as hidden import.
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

Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Using pyinstaller with .ui GUI files - No such file or directory error diver999 3 3,303 Jun-27-2023, 01:17 PM
Last Post: diver999
  Pyinstaller error amdi40 7 2,938 Sep-20-2022, 04:13 PM
Last Post: Axel_Erfurt
  error SimpleITK module with pyinstaller PythonCode12 0 1,600 Jul-08-2020, 12:07 PM
Last Post: PythonCode12
  Pyinstaller create this error :“File ”multiprocessing\connection.py“, line 691 Formationgrowthhacking 2 3,619 Apr-30-2020, 10:26 AM
Last Post: buran
  Error ' Attribute error: 'str' object has no attribute 'items'' in pyinstaller manhnt 2 8,927 Nov-04-2018, 05:51 PM
Last Post: Larz60+
  Error with using pyinstaller to convert python script in Mac OS Takeshio 2 5,363 Oct-19-2018, 02:42 PM
Last Post: Takeshio
  pyinstaller error aquilino67 3 6,189 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