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. Cannot import QtCore on ubuntu(anaconda3)
Forum Updated to NodeBB v4.3 + New Features

Cannot import QtCore on ubuntu(anaconda3)

Scheduled Pinned Locked Moved Unsolved Qt for Python
1 Posts 1 Posters 396 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.
  • thamT Offline
    thamT Offline
    tham
    wrote on last edited by
    #1

    Install PySide2 on ubuntu by Anaconda3

    pip install PySide2
    After that I set up the path
    export LD_LIBRARY_PATH=$HOME/anaconda3/lib:$LD_LIBRARY_PATH

    After that I try to import Qt5Core, it throw error message

    ImportError: /home/ubuntu/anaconda3/lib/libQt5Core.so.5: version `Qt_5.12' not found (required by /home/ubuntu/anaconda3/envs/pyside2/lib/python3.7/site-packages/PySide2/QtCore.abi3.so)
    

    Should I build the pyside2 by myself?

    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