Yes, yet another install PyQt4 on Mac thread to clutter up the internet...
Hoping someone could give me a heads up on installing PyQt4 on OSX 10.6.6, I have tried EVERYTHING and booting into a VM isn't nice every time i want to do a bit of programming with Python 3 for my coursework!
Basically, to install it i have followed instructions all over the internet to get this working but i have recently had a new teacher come and teach me computing at college and he is a Mac user (win) and he managed to get it installed and gave me these instructions:
I am familiar with the terminal so understand all the commands... the error message i am getting is at step 13 (which is REALLY ANNOYING) which after the lineCode:Installing PyQt4 on Mac OS X 10.6: 1. Make sure you have the latest Mac OS X Update installed (10.6.6) 2. Download and install the most recent Python installation from http://www.python.org/download/releases/3.1.3/ 3. Open Terminal and type the following to make sure Python launches as a 32-bit process): defaults write com.apple.versioner.python3 Prefer-32-Bit -bool yes 4. Download the Cocoa Mac binary package for Qt from http://qt.nokia.com/downloads/qt-for-open-source-cpp-development-on-mac-os-x 5. Run the Qt installer and wait for it to finish 6. Download the development snapshot of SIP from http://www.riverbankcomputing.co.uk/software/sip/download 7. Download the development snapshot of PyQt from http://www.riverbankcomputing.co.uk/software/pyqt/download 8. Create a new folder called 'OpenSource' inside your user directory 9. Move the SIP and PyQt tar.gz packages to this folder 10. Double-click on the SIP and PyQt tar.qz to decompress them 11. Rename the SIP and PyQt folders something shorter e.g. 'SIP' and 'PyQt' 12. In Terminal type the following to install SIP (each line separately followed by enter): cd ~/OpenSource cd SIP python3 configure.py -d /Library/Python/3.1/site-packages --arch i386 make sudo make install 13. In Terminal type the following to install PyQt4 (each line separately followed by enter): cd .. cd PyQt python3 configure.py -d /Library/Python/3.1/site-packages/ --use-arch i386 make sudo make installi get an error saying:Code:python3 configure.py -d /Library/Python/3.1/site-packages/ --use-arch i386Version of SIP i installed was 4.12.1, version of Python i have installed is 3.1.3 (version required for SIP v4.12.1) version of PyQt4 is 4.8.3 is the one i am trying to install.Code:"Error: This version of PyQt requires SIP version v4.12.1 or later"
Can anyone help? Its really annoying me! I am kind of resigned to the fact that i might have to keep booting into a VM though, so if no-one can... thanks for trying if you do