Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for Python
  4. pyinstaller PYQT5
Forum Update on Monday, May 27th 2025

pyinstaller PYQT5

Scheduled Pinned Locked Moved Unsolved Qt for Python
3 Posts 2 Posters 384 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.
  • L Offline
    L Offline
    LateCreate
    wrote on last edited by
    #1

    Hello Everybody, I am apprehensive about showing my code, I want to sell this program, however at the same time I desperately need help. It is a technical program, some numerical analysis graphing with PYQT5 and QWT, it runs fine on the compiler, I compiled it with Spyder-3.4 running on Windows 10,pyinstaller-3.3, but for some reason it just will not build, I have tried everything in the pyinstaller manual 'When things go wrong'. Initially I ran into the 'recurrsion problem', pasting into the spec file to set recursion to 5000 solved that problem, I have disabled Norton properly, I have tried both --onefile and --onedir, on either it seems to build an exe fine but having set --debug when I click on it I get all of the info's that it's setting up to run and configuring everything and then finally 'failure to run the untitled7.py' and it fails then cleans the cache.
    Command line initially is:
    C:\Users\JosephPalumbo\Python34\WinPython-64bit-3.4.4.3Qt5\python-3.4.4.amd64\Lib\site-packages\pyinstaller-3.3.1>pyinstaller --clean --noconsole --onedir --debug C:\Users\JosephPalumbo\Python34\WinPython-64bit-3.4.4.3Qt5\python-3.4.4.amd64\Lib\site-packages\pyinstaller-3.3.1\untitled7.py
    Then after I paste recursion 5000 into spec file:
    C:\Users\JosephPalumbo\Python34\WinPython-64bit-3.4.4.3Qt5\python-3.4.4.amd64\Lib\site-packages\pyinstaller-3.3.1>pyinstaller C:\Users\JosephPalumbo\Python34\WinPython-64bit-3.4.4.3Qt5\python-3.4.4.amd64\Lib\site-packages\pyinstaller-3.3.1\untitled7\untitled7.spec
    Please help anybody!!!!

    JonBJ 1 Reply Last reply
    0
    • L LateCreate

      Hello Everybody, I am apprehensive about showing my code, I want to sell this program, however at the same time I desperately need help. It is a technical program, some numerical analysis graphing with PYQT5 and QWT, it runs fine on the compiler, I compiled it with Spyder-3.4 running on Windows 10,pyinstaller-3.3, but for some reason it just will not build, I have tried everything in the pyinstaller manual 'When things go wrong'. Initially I ran into the 'recurrsion problem', pasting into the spec file to set recursion to 5000 solved that problem, I have disabled Norton properly, I have tried both --onefile and --onedir, on either it seems to build an exe fine but having set --debug when I click on it I get all of the info's that it's setting up to run and configuring everything and then finally 'failure to run the untitled7.py' and it fails then cleans the cache.
      Command line initially is:
      C:\Users\JosephPalumbo\Python34\WinPython-64bit-3.4.4.3Qt5\python-3.4.4.amd64\Lib\site-packages\pyinstaller-3.3.1>pyinstaller --clean --noconsole --onedir --debug C:\Users\JosephPalumbo\Python34\WinPython-64bit-3.4.4.3Qt5\python-3.4.4.amd64\Lib\site-packages\pyinstaller-3.3.1\untitled7.py
      Then after I paste recursion 5000 into spec file:
      C:\Users\JosephPalumbo\Python34\WinPython-64bit-3.4.4.3Qt5\python-3.4.4.amd64\Lib\site-packages\pyinstaller-3.3.1>pyinstaller C:\Users\JosephPalumbo\Python34\WinPython-64bit-3.4.4.3Qt5\python-3.4.4.amd64\Lib\site-packages\pyinstaller-3.3.1\untitled7\untitled7.spec
      Please help anybody!!!!

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

      @LateCreate said in pyinstaller PYQT5:

      I am apprehensive about showing my code, I want to sell this program

      This does not answer your problem, but are you aware that by choosing to use PyQt5 (unless you buy it commercially) you are obliged to publish your own application's source code? Not to mention, if it's Python and you don't do something special about it your code is visible anyway? Just a heads-up.

      1 Reply Last reply
      1
      • L Offline
        L Offline
        LateCreate
        wrote on last edited by
        #3

        Thanks JonB for reading my post, after I build the program I would like to ask you questions about that.

        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