On Saturday 05 March 2011 05:52:59 Maxim Mayzel wrote:
> 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

This symbol is from Python, not from PySide, so something is wrong with your 
Python installation, maybe you are using modules from a version X on an 
interpreter version Y, where X and Y are Python versions.
 
> 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

-- 
Hugo Parente Lima
INdT - Instituto Nokia de Tecnologia

Attachment: signature.asc
Description: This is a digitally signed message part.

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

Reply via email to