Robert Kern kirjoitti 10.9.2010 kello 2.33: > I have not been able to successfully import PySide.QtCore on OS X 10.6 > (32-bit Python, Qt, and PySide) with any of the revisions of PySide/Shiboken > in at least the past week. I get the following dump: > > Exception Type: EXC_BAD_ACCESS (SIGBUS) > Exception Codes: KERN_PROTECTION_FAILURE at 0x000000000000000c > Crashed Thread: 0 Dispatch queue: com.apple.main-thread > > Thread 0 Crashed: Dispatch queue: com.apple.main-thread > 0 org.python.python 0x010076a5 PyObject_Call + 42 > ... > > Does anyone have an idea? > > -- > Robert Kern
Hi, You can check where your python modules are loading: python -c "import sys; print sys.path" and move the PySide module into one of the site-packages directory. I successfully compiled PySide and ran a QtDeclarative test on OS X just minutes ago. :) With python26 from MacPorts, I use /Library/Python/2.6/site-packages. Here is the contents of my installation pkg, (not all PySide modules are created to shorten the compile-test cycle): http://pastebin.com/suEZbf4a The headers go to /usr/include, but this is probably not a good idea. You can compare this to where your files are installed. -- mikael _______________________________________________ PySide mailing list [email protected] http://lists.openbossa.org/listinfo/pyside
