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. undefined symbol: qt_version_tag
Forum Updated to NodeBB v4.3 + New Features

undefined symbol: qt_version_tag

Scheduled Pinned Locked Moved Unsolved Qt for Python
2 Posts 2 Posters 1.1k 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.
  • R Offline
    R Offline
    roux.benoit
    wrote on last edited by
    #1

    Hello,
    I've install PyQt5 via pip, into a conda env, which worked fine but then when I try to import PyQt5.QtWidgets I always get:

    ImportError: /home/ben/Softwares/miniconda3/envs/cp_test/lib/python3.8/site-packages/PyQt5/QtWidgets.abi3.so: undefined symbol: qt_version_tag, version Qt_5.15
    

    I run the env in Ubuntu 22.04.2LTS, if that can help and here is the env related pkgs:

    Successfully installed markdown-3.4.3 qtwidgets-1.1
    (cp_test) ben@ben-desktop:/media/ben/Analysis/Python/ImageAnalysis_pipeline$ conda list | grep pyqt
    pyqt5                     5.15.9                   pypi_0    pypi
    pyqt5-qt5                 5.15.2                   pypi_0    pypi
    pyqt5-sip                 12.11.0                  pypi_0    pypi
    pyqtchart                 5.12                     pypi_0    pypi
    pyqtgraph                 0.12.4                   pypi_0    pypi
    pyqtwebengine             5.12.1                   pypi_0    pypi
    (cp_test) ben@ben-desktop:/media/ben/Analysis/Python/ImageAnalysis_pipeline$ pip list | grep pyqt
    pyqtgraph
    

    Thanks in advance for the help.
    Ben

    SGaistS 1 Reply Last reply
    0
    • R roux.benoit

      Hello,
      I've install PyQt5 via pip, into a conda env, which worked fine but then when I try to import PyQt5.QtWidgets I always get:

      ImportError: /home/ben/Softwares/miniconda3/envs/cp_test/lib/python3.8/site-packages/PyQt5/QtWidgets.abi3.so: undefined symbol: qt_version_tag, version Qt_5.15
      

      I run the env in Ubuntu 22.04.2LTS, if that can help and here is the env related pkgs:

      Successfully installed markdown-3.4.3 qtwidgets-1.1
      (cp_test) ben@ben-desktop:/media/ben/Analysis/Python/ImageAnalysis_pipeline$ conda list | grep pyqt
      pyqt5                     5.15.9                   pypi_0    pypi
      pyqt5-qt5                 5.15.2                   pypi_0    pypi
      pyqt5-sip                 12.11.0                  pypi_0    pypi
      pyqtchart                 5.12                     pypi_0    pypi
      pyqtgraph                 0.12.4                   pypi_0    pypi
      pyqtwebengine             5.12.1                   pypi_0    pypi
      (cp_test) ben@ben-desktop:/media/ben/Analysis/Python/ImageAnalysis_pipeline$ pip list | grep pyqt
      pyqtgraph
      

      Thanks in advance for the help.
      Ben

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

      Hi and welcome to devnet,

      You should test the conda version of PyQt5.

      Otherwise, I would recommend that you contest the authors of PyQt to see if they are aware of that issue.

      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
      0

      • Login

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