Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Cannot import QtCore on ubuntu(anaconda3)



  • 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?


Log in to reply