error importing QtGui from Pyside
Question: I just downloaded and installed PySide and I am getting this error when I try
to import QtGui from PySide

    
    
    $ python -c "from PySide import QtGui"
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
    ImportError: dlopen(/Library/Python/2.7/site-packages/PySide/QtGui.so, 2): Symbol not found: __ZN7QLayout11adoptLayoutEPS_
      Referenced from: /Library/Python/2.7/site-packages/PySide/QtGui.so
      Expected in: /Library/Frameworks/QtGui.framework/Versions/4/QtGui
     in /Library/Python/2.7/site-packages/PySide/QtGui.so
    

any help would be greatly appreciated.


Answer: Just installed PySide from pip yesterday. Checked "python -c "from PySide
import QtGui" everything importing fine.

Firs check if you have QtGui.so in "/Library/Python/2.7/site-packages/PySide/"
directory, cause a have.

Some month ago trying to install PyQt from sources got problem with
compilation: everything looks fine, but some modules (including QtGui) was
absent (can't remember but problem was in some config file).

