Python Forum
Problems running exe file from pyinstaller
Thread Rating:
  • 3 Vote(s) - 2 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problems running exe file from pyinstaller
#4
(Jan-14-2019, 05:01 PM)Larz60+ Wrote: hard to say without knowing exactly how you ran the tool. You need to show what you tried step by step, even the simplest steps.

I first changed my directory to the folder where my code was saved then I tried running pyinstaller through terminal
pyinstaller --onefile calculator1.py
https://drive.google.com/open?id=1fDP7jQ...hJCtYt5PtZ
https://drive.google.com/open?id=1fDP7jQ...hJCtYt5PtZ

Everything runs fine and there is also folder for build and dist but when I try to run the exe file in dist folder,nothing happens.

(Jan-14-2019, 05:15 PM)snippsat Wrote: If need .exe you most build it with pyinstaller on Windows. pyinstaller work on Linux but it dos not create .exe for Windows. So on Linux it will make foo no file extension ,and on Windows foo.exe. They work the same also a stand alone executable,but need to build on OS used.

that executable file is created but it doesn't run. What do you mean y building that OS?
Reply


Messages In This Thread
RE: Problems running exe file from pyinstaller - by ersa21 - Jan-15-2019, 07:34 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
Sad problems with reading csv file. MassiJames 3 663 Nov-16-2023, 03:41 PM
Last Post: snippsat
  error "cannot identify image file" part way through running hatflyer 0 691 Nov-02-2023, 11:45 PM
Last Post: hatflyer
  Using pyinstaller with .ui GUI files - No such file or directory error diver999 3 3,436 Jun-27-2023, 01:17 PM
Last Post: diver999
  Web project and running a .py file emont 0 656 Dec-11-2022, 11:15 PM
Last Post: emont
  Upgrading from 2 to 3 and having file write problems KenHorse 2 1,511 May-08-2022, 09:47 PM
Last Post: KenHorse
  Pyinstaller distribution file seems too large hammer 4 2,767 Mar-31-2022, 02:33 PM
Last Post: snippsat
  batch file for running python scipt in Windows shell MaartenRo 2 1,912 Jan-21-2022, 02:36 PM
Last Post: MaartenRo
  problem with pyinstaller to create an executable file atlass218 0 2,583 May-15-2021, 11:01 AM
Last Post: atlass218
  Problems with inserting images into an Excel File FightingFarmer 2 3,428 May-12-2021, 10:03 PM
Last Post: FightingFarmer
  Running A Parser In VSCode - And Write The Results Into A Csv-File apollo 5 4,685 Jan-14-2021, 08:58 PM
Last Post: snippsat

Forum Jump:

User Panel Messages

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