Hi,

I've just upgrade PySide to version 1.0 and got an error while
importing PySide

In [1]: import PySide
------------------------------------------------------------
Traceback (most recent call last):
  File "<ipython console>", line 1, in<module>
  File "/Library/Python/2.6/site-packages/PySide/__init__.py", line 2,
in<module>
    import private
  File "/Library/Python/2.6/site-packages/PySide/private.py", line 2,
in<module>
    from QtCore import __moduleShutdown
ImportError: dlopen(/Library/Python/2.6/site-packages/PySide/
QtCore.so, 2): Symbol not found: _PyCapsule_Import
  Referenced from: /Library/Python/2.6/site-packages/PySide/QtCore.so
  Expected in: flat namespace
 in /Library/Python/2.6/site-packages/PySide/QtCore.so

I tried QT4.7.1&  4.7.2, the same error
I'm running Python 2.6.1 on Mac OS X 10.6
(Python 2.6.1 (r261:67515, Jun 24 2010, 21:47:49)
[GCC 4.2.1 (Apple Inc. build 5646)] on darwin)

And everything works fine with pyside-1.0.0-beta5-qt47-py26apple.dmg

So what I'm doing wrong?

With all best,
Maxim

_______________________________________________
PySide mailing list
[email protected]
http://lists.pyside.org/listinfo/pyside

Reply via email to