[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    [PyQt] PyQt4 installed into different dir than sip and not importable on MacOSX
From:       Andreas Pakulat <apaku () gmx ! de>
Date:       2015-03-20 20:44:00
Message-ID: CAExHGmTHNPcomo+iOMACSdGSsHKkuayqxaQ42uiGds=nx5zrbQ () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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.

[Attachment #5 (text/html)]

<div dir="ltr">Hi,<div><br></div><div>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.</div><div><br></div><div>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.</div><div><br></div><div>I guess this isn&#39;t intended? Where does \
PyQt gather the default installation directory \
from?</div><div><br></div><div>Andreas</div><div><br></div><div>PS: Passing -d \
/Library/Python/2.7/site-packages worked fine of course.</div></div>


[Attachment #6 (text/plain)]

_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic