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. PyQt4/Qtcore.so error I really need help.
Forum Updated to NodeBB v4.3 + New Features

PyQt4/Qtcore.so error I really need help.

Scheduled Pinned Locked Moved Unsolved General and Desktop
8 Posts 4 Posters 1.4k 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.
  • J Offline
    J Offline
    jxingm
    wrote on last edited by
    #1

    backgrounds:
    ubuntu 16.04,python 2.7,PyQt4 4.12
    I got this error when running the program:
    .../PyQt4/QtCore.so: undefined symbol:_ZN7QObject13connectNotifyERK11QMetaMethod

    Can anyone help me with this??
    Thanks a lot.

    jsulmJ 1 Reply Last reply
    0
    • J jxingm

      backgrounds:
      ubuntu 16.04,python 2.7,PyQt4 4.12
      I got this error when running the program:
      .../PyQt4/QtCore.so: undefined symbol:_ZN7QObject13connectNotifyERK11QMetaMethod

      Can anyone help me with this??
      Thanks a lot.

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @jxingm How did you install PyQt? Are there any other warnings/errors?

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

      J 1 Reply Last reply
      0
      • jsulmJ jsulm

        @jxingm How did you install PyQt? Are there any other warnings/errors?

        J Offline
        J Offline
        jxingm
        wrote on last edited by
        #3

        @jsulm I followed this:
        (1) install sip
        sudo python configure.py
        make
        sudo make install
        (2) install some packages
        sudo apt-get install libxext6 libxext-dev libqt4-dev libqt4-gui libqt4-sql qt4-dev-tools qt4-doc qt4-designer qt4-qtconfig
        (3) install pyqt4
        sudo python configure.py
        sudo make
        sudo make install

        After these instructions,I copied '/usr/lib/python2.7/dist-packages/PyQT4' and '/usr/lib/python2.7/dist-packages/sip.so' to my virualenv
        python2.7 .
        I can import PyQt4,but when I tried to run ,got the error above ,no other errors.

        JonBJ 1 Reply Last reply
        0
        • J jxingm

          @jsulm I followed this:
          (1) install sip
          sudo python configure.py
          make
          sudo make install
          (2) install some packages
          sudo apt-get install libxext6 libxext-dev libqt4-dev libqt4-gui libqt4-sql qt4-dev-tools qt4-doc qt4-designer qt4-qtconfig
          (3) install pyqt4
          sudo python configure.py
          sudo make
          sudo make install

          After these instructions,I copied '/usr/lib/python2.7/dist-packages/PyQT4' and '/usr/lib/python2.7/dist-packages/sip.so' to my virualenv
          python2.7 .
          I can import PyQt4,but when I tried to run ,got the error above ,no other errors.

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

          @jxingm
          If you do not get the answer you need here, suggest you join the "PyQt mailing list" (https://riverbankcomputing.com/mailman/listinfo/pyqt or similar) and ask there.

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

            Hi,

            Why not use the PyQt4 provided by your distribution ?

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

            J 1 Reply Last reply
            1
            • SGaistS SGaist

              Hi,

              Why not use the PyQt4 provided by your distribution ?

              J Offline
              J Offline
              jxingm
              wrote on last edited by
              #6

              @SGaist Hi, I'm not sure what you mean... Do you mean the other ways to install PyQt4 ? I have tried pip and .whl ,neither worked.
              Can you help?

              1 Reply Last reply
              0
              • JonBJ JonB

                @jxingm
                If you do not get the answer you need here, suggest you join the "PyQt mailing list" (https://riverbankcomputing.com/mailman/listinfo/pyqt or similar) and ask there.

                J Offline
                J Offline
                jxingm
                wrote on last edited by
                #7

                @JonB Ok,I will see.Thanks.

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

                  @jxingm said in PyQt4/Qtcore.so error I really need help.:

                  @SGaist Hi, I'm not sure what you mean... Do you mean the other ways to install PyQt4 ? I have tried pip and .whl ,neither worked.
                  Can you help?

                  Yes there is: use your distribution package manager aka apt

                  apt-cache search pyqt4

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

                  1 Reply Last reply
                  1

                  • Login

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