[PyQt] PyQt4 installed into different dir than sip and not importable on MacOSX

Andreas Pakulat apaku at gmx.de
Fri Mar 20 20:44:00 GMT 2015


Hi,

just installed the latest PyQt4 release (4.11.3) on MacOSX and could not
impot PyQt4 afterwards in python. Turns out it decided to place itself into
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages,
however that directory is not in sys.path after starting Python.

sip on the other hand (installed just before, version is 4.16.6) put itself
into /Library/Python/2.7/site-packages and that is part of sys.path.

I guess this isn't intended? Where does PyQt gather the default
installation directory from?

Andreas

PS: Passing -d /Library/Python/2.7/site-packages worked fine of course.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20150320/a02d8bd1/attachment.html>


More information about the PyQt mailing list