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/, 2): Library not loaded: QtGui.framework/Versions/4/QtGui
    Referenced from: /Library/Python/2.7/site-packages/PySide/
    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

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.