Please nominate your Qt Champions for 2021! https://forum.qt.io/topic/132134/looking-for-the-2021-qt-champions

PySide: 'QtGui.framework Library not Loaded'



  • Trying to get PySide up and running

    First program (From tutorial)

    import sys
    import PySide
    from PySide import QtGui
    Traceback (most recent call last):
    File "<stdin>", line 1, in <module>
    ImportError: dlopen(/Library/Python/2.7/site-packages/PySide/QtGui.so, 2): Library not loaded: QtGui.framework/Versions/4/QtGui
    Referenced from: /Library/Python/2.7/site-packages/PySide/QtGui.so
    Reason: image not found

    I don't understand why is accept the 'import PySide' command but not the 'from PySide import QtGui' command...


Log in to reply