Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Pyinstaller exe freezing
Forum Updated to NodeBB v4.3 + New Features

Pyinstaller exe freezing

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 404 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    CEO.
    wrote on last edited by CEO.
    #1

    Hello, whenever I freeze my file using pyinstaller in a bid to make it a standalone executable, the app crashes when I try to run it.

    I used:
    pyinstaller myFile.py

    I've also tried

    pyinstaller.exe myFile.py

    I've also tried
    pyinstaller --onefile --noconsole myFile.py

    When I run the program, the folder gets build and dist subfolders. Inside these subfolders, the myFile.exe is seen there but when I try to run it, it crashes.

    JonBJ 1 Reply Last reply
    0
    • C CEO.

      Hello, whenever I freeze my file using pyinstaller in a bid to make it a standalone executable, the app crashes when I try to run it.

      I used:
      pyinstaller myFile.py

      I've also tried

      pyinstaller.exe myFile.py

      I've also tried
      pyinstaller --onefile --noconsole myFile.py

      When I run the program, the folder gets build and dist subfolders. Inside these subfolders, the myFile.exe is seen there but when I try to run it, it crashes.

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by
      #2

      @CEO
      Isn't pyinstaller nothing to do with Qt? Shouldn't you ask at its forum?

      VRoninV 1 Reply Last reply
      0
      • JonBJ JonB

        @CEO
        Isn't pyinstaller nothing to do with Qt? Shouldn't you ask at its forum?

        VRoninV Offline
        VRoninV Offline
        VRonin
        wrote on last edited by VRonin
        #3

        @JonB I suspect OP's problem is deploying an app compiled using Qt for Python. The usual "use windeployqt" answer would apply but I don't know the specifics of a python program though

        "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
        ~Napoleon Bonaparte

        On a crusade to banish setIndexWidget() from the holy land of Qt

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved