I hope this is the correct place to ask for help installing PyQt.<br><br>I have been trying to install PyQt on Snow Leopard on my MacBook Pro with little success. I have been following the guide <a href="http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/pyqt4ref.html#configuring-sip-and-pyqt-for-macos-10-6-snow-leopard">http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/pyqt4ref.html#configuring-sip-and-pyqt-for-macos-10-6-snow-leopard</a>. I installed SIP from source using the --arch i386 option. I installed QT4 from a .dmg downloaded from <a href="http://qt.nokia.com/products">http://qt.nokia.com/products</a>. And then I attempted to install PyQt from source using the --use-arch=i386 option. The configure and make steps both exit with no errors but sudo make install exits with the following error:<br>
<br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">g++ -headerpad_max_install_names -arch i386 -single_module -dynamiclib -o libpythonplugin.dylib pluginloader.o moc_pluginloader.o -F/Library/Frameworks -L/Library/Frameworks -framework Python -framework QtDesigner -framework QtScript -framework QtXml -framework QtGui -framework Carbon -framework AppKit -framework QtCore -lz -lm -framework ApplicationServices <br>
ld: warning: in /Library/Frameworks/Python.framework/Python, file is not of required architecture<br>Undefined symbols:<br> "_Py_Initialize", referenced from:<br> PyCustomWidgets::PyCustomWidgets(QObject*)in pluginloader.o<br>
"_PyLong_AsVoidPtr", referenced from:<br> PyCustomWidgets::PyCustomWidgets(QObject*)in pluginloader.o<br> "_PyErr_Print", referenced from:<br> PyCustomWidgets::getModuleAttr(char const*, char const*)in pluginloader.o<br>
PyCustomWidgets::getModuleAttr(char const*, char const*)in pluginloader.o<br> PyCustomWidgets::PyCustomWidgets(QObject*)in pluginloader.o<br> PyCustomWidgets::PyCustomWidgets(QObject*)in pluginloader.o<br>
PyCustomWidgets::PyCustomWidgets(QObject*)in pluginloader.o<br> "_PyString_FromString", referenced from:<br> PyCustomWidgets::PyCustomWidgets(QObject*)in pluginloader.o<br> "_PyType_IsSubtype", referenced from:<br>
PyCustomWidgets::PyCustomWidgets(QObject*)in pluginloader.o<br> PyCustomWidgets::PyCustomWidgets(QObject*)in pluginloader.o<br> "_PyModule_GetDict", referenced from:<br> PyCustomWidgets::PyCustomWidgets(QObject*)in pluginloader.o<br>
"_PyObject_CallObject", referenced from:<br> PyCustomWidgets::PyCustomWidgets(QObject*)in pluginloader.o<br> "_PyObject_CallFunctionObjArgs", referenced from:<br> PyCustomWidgets::PyCustomWidgets(QObject*)in pluginloader.o<br>
"_PyList_Append", referenced from:<br> PyCustomWidgets::PyCustomWidgets(QObject*)in pluginloader.o<br> "_PyType_Type", referenced from:<br> _PyType_Type$non_lazy_ptr in pluginloader.o<br> "_Py_IsInitialized", referenced from:<br>
PyCustomWidgets::PyCustomWidgets(QObject*)in pluginloader.o<br> "_PyDict_Next", referenced from:<br> PyCustomWidgets::PyCustomWidgets(QObject*)in pluginloader.o<br> "_PyImport_ImportModule", referenced from:<br>
PyCustomWidgets::getModuleAttr(char const*, char const*)in pluginloader.o<br> PyCustomWidgets::PyCustomWidgets(QObject*)in pluginloader.o<br> "_PyObject_GetAttrString", referenced from:<br> PyCustomWidgets::getModuleAttr(char const*, char const*)in pluginloader.o<br>
ld: symbol(s) not found<br>collect2: ld returned 1 exit status<br>make[1]: *** [libpythonplugin.dylib] Error 1<br>make: *** [install] Error 2<br></blockquote><div><br><br>I currently have Python 2.5.2 installed. I am currently downloading version 2.6.4 and try again. If there is any more info needed, please ask. Any help would be greatly appreciated. Thank you.<br>
<br>-Jason<br> </div><div style="margin-left: 40px;"><br> <br></div>