Hallo,
ich habe ein ähnliches Problem wie Pfannkuchen2001 hier. Nur ist's bei mir PyQt4.
Ich benutze das in MacPorts kompilierte Python 2.6, es sind folgende (für bertos relevante) Module installiert
py26-pyqt4 @4.7.7_0 (active)
py26-sip @4.11.1_1 (active)
python24 @2.4.6_4+darwin+darwin_9+macosx
python24 @2.4.6_7 (active)
python26 @2.6.6_0 (active)
python_select @0.3_0 (active)
qt3-mac @3.3.8_1+darwin (active)
qt4-mac @4.6.3_6 (active)
qt4_select @0.3_3 (active)
Ich habe noch nicht getestet ob qt4 selektiert ist, aber glaube nicht dass es daran liegt. sys.path sagt:
>>> print sys.path
['',
'/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python26.zip',
'/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6',
'/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-darwin',
'/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-mac',
'/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-mac/lib-scriptpackages',
'/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-tk',
'/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-old',
'/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-dynload']
da ist überhaupt kein Qt zu finden.
PYTHONPATH ist leer.
In /opt/local/Library ist installiert:
Python.framework
Qt3Support.framework
QtAssistant.framework
QtCore.framework
QtDBus.framework
... (und noch weitere Qt Libs)
Was genau soll ich da jetzt machen? In anderen Systemen scheint Qt in den Python Site-Packages installiert bzw. verlinkt zu sein. Was mir grad auffällt, PyQt find ich nirgends. Das soll laut MacPorts installiert sein, aber finden tu ich's nirgends auch nicht in den site-packages. Wie schau ich nach, wo's hin installiert wurde?
ich habe ein ähnliches Problem wie Pfannkuchen2001 hier. Nur ist's bei mir PyQt4.
Ich benutze das in MacPorts kompilierte Python 2.6, es sind folgende (für bertos relevante) Module installiert
py26-pyqt4 @4.7.7_0 (active)
py26-sip @4.11.1_1 (active)
python24 @2.4.6_4+darwin+darwin_9+macosx
python24 @2.4.6_7 (active)
python26 @2.6.6_0 (active)
python_select @0.3_0 (active)
qt3-mac @3.3.8_1+darwin (active)
qt4-mac @4.6.3_6 (active)
qt4_select @0.3_3 (active)
Ich habe noch nicht getestet ob qt4 selektiert ist, aber glaube nicht dass es daran liegt. sys.path sagt:
>>> print sys.path
['',
'/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python26.zip',
'/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6',
'/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-darwin',
'/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-mac',
'/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-mac/lib-scriptpackages',
'/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-tk',
'/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-old',
'/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-dynload']
da ist überhaupt kein Qt zu finden.
PYTHONPATH ist leer.
In /opt/local/Library ist installiert:
Python.framework
Qt3Support.framework
QtAssistant.framework
QtCore.framework
QtDBus.framework
... (und noch weitere Qt Libs)
Was genau soll ich da jetzt machen? In anderen Systemen scheint Qt in den Python Site-Packages installiert bzw. verlinkt zu sein. Was mir grad auffällt, PyQt find ich nirgends. Das soll laut MacPorts installiert sein, aber finden tu ich's nirgends auch nicht in den site-packages. Wie schau ich nach, wo's hin installiert wurde?
Zuletzt bearbeitet: