Hi, On 2010/08/10, at 08:13, Stefan Scherfke wrote:
> Hi Carlos, > > thanks for that package. I’ve just tried it, but unfortunately it doesn’t > work. I’ve installed the Python 2.6.5 package from python.org and the binary > Qt 4.6.3 Cocoa. > > The installer puts the Python package into /Library/Python/2.6/site-packages, > but for the python.org-package it is > /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages. > If I add the former to my PYTHONPATH, I can import PySide, but not > PySide.QtCore. Just got a note, that QtCore could not be found. I also tried > copying the Package to my “real” site-packages. If I try to import > PySide.QtCore, I get: > >>>> import PySide >>>> import PySide.QtCore > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > ImportError: > dlopen(/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/PySide/QtCore.so, > 2): no suitable image found. Did find: > > /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/PySide/QtCore.so: > mach-o, but wrong architecture > > > Did you use the binary version of Qt or did you compile your own? I still > can’t compile the current version of pyside (see my mail from Aug 6, 2010). Download http://www.cgoncalves.info/trash/pyside/macosx/createpackage and http://www.cgoncalves.info/trash/pyside/macosx/scripts. Chmod +x createpackage and run it. Or you can jump directly to the new package I've built: http://www.cgoncalves.info/trash/pyside/macosx/pyside-0.4.1.20100827.dmg Carlos Gonçalves _______________________________________________ PySide mailing list [email protected] http://lists.openbossa.org/listinfo/pyside
