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. No PySide2 for Python3.8?
QtWS25 Last Chance

No PySide2 for Python3.8?

Scheduled Pinned Locked Moved Solved Qt for Python
7 Posts 6 Posters 7.1k 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.
  • B Offline
    B Offline
    bundito
    wrote on 6 Nov 2019, 22:31 last edited by
    #1

    I'm interested to try the Qt For Python bindings (the artist formerly known as PySide), but there doesn't appear to be a version for Python 3.8. Or is there? I've just gotten Python 3.8 running on Windows, and it was a distasteful process. I don't really want to downgrade to 3.7 if I don't have to.

    Does anyone know if there's a release for Python 3.8 and I'm too dense to find it? Or do I indeed need to downgrade Python?

    J J 2 Replies Last reply 7 Nov 2019, 05:58
    0
    • B bundito
      6 Nov 2019, 22:31

      I'm interested to try the Qt For Python bindings (the artist formerly known as PySide), but there doesn't appear to be a version for Python 3.8. Or is there? I've just gotten Python 3.8 running on Windows, and it was a distasteful process. I don't really want to downgrade to 3.7 if I don't have to.

      Does anyone know if there's a release for Python 3.8 and I'm too dense to find it? Or do I indeed need to downgrade Python?

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 7 Nov 2019, 05:58 last edited by
      #2

      @bundito Try to install PySide2 using pip tool (if your Python setup contains pip.exe):

      c:\python3\scripts\pip.exe install PySide2
      

      See https://wiki.qt.io/Qt_for_Python

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • B bundito
        6 Nov 2019, 22:31

        I'm interested to try the Qt For Python bindings (the artist formerly known as PySide), but there doesn't appear to be a version for Python 3.8. Or is there? I've just gotten Python 3.8 running on Windows, and it was a distasteful process. I don't really want to downgrade to 3.7 if I don't have to.

        Does anyone know if there's a release for Python 3.8 and I'm too dense to find it? Or do I indeed need to downgrade Python?

        J Offline
        J Offline
        JonB
        wrote on 7 Nov 2019, 08:03 last edited by
        #3

        @bundito
        Just a comment: I do not know what the differences are from Python 3.7 to 3.8, but is there not a fair chance that the current version of PySide2 will work successfully with Python 3.8?

        1 Reply Last reply
        0
        • B Offline
          B Offline
          bundito
          wrote on 11 Nov 2019, 00:27 last edited by
          #4

          Thanks for the suggestions, everyone, but even after looking at the git sources, there does not appear to be a Python 3.8 version. I rejiggered everything and installed Python 3.7.5 instead.

          Instead, I'll just level a low-octane gripe at the Qt4Py "Getting Started" page. It simply says "Python 3.5+"

          I was setting up a fresh environment, so I did like I've done with so many other things, and grabbed the latest stable release, which is Python 3.8.

          @jsulm: I do have pip (couldn't work without it), but when I tried to run it against Python 3.8, I got an error about no release matching my distribution - or something to that effect.

          Anyway, aside from that minor bit of wording on the front page, I've gotten a demo QWidget to run - now I just have to try and remember how all these Qt LEGOs fit together. It's been a while (early Qt5) since I was doing this regularly...

          Thanks for all the help!

          1 Reply Last reply
          0
          • B Offline
            B Offline
            bundito
            wrote on 11 Nov 2019, 03:45 last edited by
            #5

            @Denni-0 - Yep, see below. I rolled back to Python 3.7.5 and all is good. Just want to make sure I can give you credit for the solution.

            1 Reply Last reply
            0
            • E Offline
              E Offline
              ewerybody
              wrote on 6 Jan 2020, 14:31 last edited by
              #6

              Oh there is something on the main docs page now:

              ***: 5.14 will not work on Windows with Python 3.8.0, please use Python 3.8.1 or greater.

              I just used the web-installer from the downloads to update.
              Works! ✔😃

              1 Reply Last reply
              2
              • K Offline
                K Offline
                Kikokun
                wrote on 23 Nov 2020, 15:09 last edited by Kikokun
                #7

                On Python 3.8.1, pip failed but I could install PySide2 using pip3.8.exe instead

                ..\Python38\Scripts>pip3.8.exe install PySide2
                
                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