The last two tools that must be obtained are SIP and PyQt. A later 2x series version, such as 2.5.2 orĢ.6.0, should also be okay, providing they are production releases (not alphas, betas, or release candidates). org/download and download the Python 2.5.1 for Macintosh OS X version-for example, python-2.5.1-macosx.dmg. If you need to install an up-to-date version of Python, go to. A later version number, say, 4.3.1, should also be fine. Go to index and click the Qt/Mac Open Source Edition link, and near the bottom of the page, download qt-mac-opensource-4.2.3.dmg. ![]() ![]() The files required for installing PyQt are qt-mac-opensource-4.2.3.dmg, python-2.5.1-macosx.dmg (unless you already have Python 2.5 or later installed), sip-4.6.tar.gz, and, PyQt-mac-gpl-4.2.tar.gz. To check the Python version, start up a Terminal, and type in python -V if this prints "Python 2.5", or a higher version number, there is no need to install a new version of Python. The following instructions assume that Xcode is already installed.Īlthough Macs are normally supplied with a version of Python preinstalled, it may be an old version, in which case we recommend installing an up-to-date version for PyQt development. Xcode is a very large package, normally supplied on a separate developer's CD provided with the machine it is also available online from. This is because a compiler and build tool are required to install PyQt. ![]() ![]() To install PyQt on Mac OS X, you must already have the Xcode tools installed.
0 Comments
Leave a Reply. |