[PySide] PySide on OS X 10.9

Tim Doty thoromyr at mac.com
Fri Nov 8 13:30:39 CET 2013


I made a mistake and “updated” to OS X 10.9 and PySide can no longer be imported. 

> $ python
> Python 2.7.2 (v2.7.2:8527427914a2, Jun 11 2011, 15:22:34) 
> [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import PySide
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PySide/__init__.py", line 2, in <module>
>   File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PySide/private.py", line 2, in <module>
> ImportError: No module named QtCore
> 

So I reinstalled Qt and Python would crash instead. I then reinstalled PySide 1.1.1 and it is back to the above error.

As far as I know I can’t revert back to OS X 10.8 (which would be nice as it broke other applications as well), but from list traffic it appears that others are using PySide on 10.9 so my question is: how?

Tim Doty


More information about the PySide mailing list