[PyKDE] sip import error (Universal MacPython 2.4.3)

Emanuele Santos emanuelesantos at gmail.com
Fri Apr 21 23:58:31 BST 2006

PyQt doesn't work with the python 2.4.3 available binaries.
You need to build Python from the source using  
DYNLOADFILE=dynload_shlib.o ./configure --enable-framework --enable- 
toolbox-glue --enable-shared

Just remember to make frameworkinstall instead of make install

Emanuele Santos
emanuelesantos at gmail.com

"God is always present though sometimes hidden.
Always caring, but often silent. "

On Apr 21, 2006, at 4:23 PM, Adam Tenderholt wrote:

> I can successfullly compiled sip (4.4.1) against MacPython 2.4.3 on  
> OS X 10.4.6 (Intel). However, when I try importing sip, it gives  
> the error "ImportError: Inappropriate file type for dynamic loading".
> I tried adjusting the CFLAGS and CXXFLAGS by adding "-arch i386",  
> but it doensn't help. Any suggestions?
> Thanks,
> Adam
> _______________________________________________
> PyKDE mailing list    PyKDE at mats.imk.fraunhofer.de
> http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

More information about the PyQt mailing list