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. why are several of my pyside6 modules not working?
Forum Updated to NodeBB v4.3 + New Features

why are several of my pyside6 modules not working?

Scheduled Pinned Locked Moved Unsolved Qt for Python
12 Posts 2 Posters 1.8k Views 1 Watching
  • 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.
  • I Offline
    I Offline
    idbnstra
    wrote on last edited by
    #1

    These modules don't work, even though I installed Pyside:

    • QtSpatialAudio
    • QtDataVisualization
    • QtBluetooth
    • QtWebEngineWidgets

    Other modules, like QMainWindow, QApplication, QLineEdit work fine.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      What exactly did you install ?

      All the class you are saying works comes from the qtbase module.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      I 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi and welcome to devnet,

        What exactly did you install ?

        All the class you are saying works comes from the qtbase module.

        I Offline
        I Offline
        idbnstra
        wrote on last edited by
        #3

        @SGaist I installed PySide 6

        SGaistS 1 Reply Last reply
        0
        • I idbnstra

          @SGaist I installed PySide 6

          SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Recent versions of PySide6 have been split because of the size of the modules. So again: what exactly did you install and how ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          I 1 Reply Last reply
          0
          • SGaistS SGaist

            Recent versions of PySide6 have been split because of the size of the modules. So again: what exactly did you install and how ?

            I Offline
            I Offline
            idbnstra
            wrote on last edited by
            #5

            @SGaist I installed PySide6 on the command line with pip, like this:

            pip install PySide6
            
            SGaistS 1 Reply Last reply
            0
            • I idbnstra

              @SGaist I installed PySide6 on the command line with pip, like this:

              pip install PySide6
              
              SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              Ok, this looks good. Can you check that you have the PySide6-Addons package properly installed ?

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              I 1 Reply Last reply
              0
              • SGaistS SGaist

                Ok, this looks good. Can you check that you have the PySide6-Addons package properly installed ?

                I Offline
                I Offline
                idbnstra
                wrote on last edited by
                #7

                @SGaist yes, I have PySide6-addons properly installed

                SGaistS 1 Reply Last reply
                0
                • I idbnstra

                  @SGaist yes, I have PySide6-addons properly installed

                  SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  @idbnstra on which OS are you ?

                  Interested in AI ? www.idiap.ch
                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                  I 1 Reply Last reply
                  0
                  • SGaistS SGaist

                    @idbnstra on which OS are you ?

                    I Offline
                    I Offline
                    idbnstra
                    wrote on last edited by
                    #9

                    @SGaist windows 10

                    SGaistS 1 Reply Last reply
                    0
                    • I idbnstra

                      @SGaist windows 10

                      SGaistS Offline
                      SGaistS Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on last edited by
                      #10

                      Just to be sure, can you provide a minimal script that shows the issue so we ensure that we are trying the same things ?

                      Interested in AI ? www.idiap.ch
                      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                      SGaistS 1 Reply Last reply
                      0
                      • SGaistS SGaist

                        Just to be sure, can you provide a minimal script that shows the issue so we ensure that we are trying the same things ?

                        SGaistS Offline
                        SGaistS Offline
                        SGaist
                        Lifetime Qt Champion
                        wrote on last edited by
                        #11

                        I just tested with from PySide6.QtDataVisualization import Q3DBars on a fresh install of PySide6 with Python 3.10.4 on macOS and it worked correctly. I then tried all the modules that you listed with a star import and they all loaded as expected.

                        Are you using a virtual environment for your

                        Interested in AI ? www.idiap.ch
                        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                        I 1 Reply Last reply
                        0
                        • SGaistS SGaist

                          I just tested with from PySide6.QtDataVisualization import Q3DBars on a fresh install of PySide6 with Python 3.10.4 on macOS and it worked correctly. I then tried all the modules that you listed with a star import and they all loaded as expected.

                          Are you using a virtual environment for your

                          I Offline
                          I Offline
                          idbnstra
                          wrote on last edited by
                          #12

                          @SGaist I am not using a virtual environment.
                          When I look at the imports in VSCode, they look fine. But when I run the program, it gives me the error. I am using python 3.11.4.
                          I downloaded and ran this program:
                          https://doc.qt.io/qtforpython-6/examples/example_datavisualization_bars3d.html
                          087d724b-c6c8-45ba-ab0d-c917b74d9326-image.png

                          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