The following is the short form of how to install Python and PyQt on Windows:
Part I: Install Python, if it does not already exist. A. Go to: http://www.python.org/download/ B. Scroll down the page, looking for items like: Python 2.7 Windows installer (Windows binary -- does not include source) Python 3.1.2 Windows x86 MSI Installer (Windows binary -- does not include source) C. Download one or more of these installers. D. Double-click each downloaded installer. E. Go to this page of the Python tutorial: http://docs.python.org/tutorial/interpreter.html Test the installation of Python by invoking the Python interpreter as described. Part II: Install PyQt, if it does not already exist: A. Go to http://www.riverbankcomputing.co.uk/software/pyqt/download B. Scroll down the page until you see the section called "Binary packages". It will contain entries such as the following: PyQt-Py3.1-gpl-4.7.4-1.exe Windows installer PyQt-Py2.7-gpl-4.7.4-3.exe Windows installer PyQt-Py2.6-gpl-4.7.4-1.exe Windows installer PyQt-Py2.5-gpl-4.7.4-1.exe Windows installer PyQt-Py2.4-gpl-4.7.4-1.exe Windows installer C. Download one installer for every version of Python you have installed. D. Double-click each downloaded installer to install PyQt for a particular version of Python. E. Test the installation of PyQt by invoking the Python interpreter and then typing the following at the Python command prompt: import PyQt4.QtGui ; print(PyQt4.QtGui) You should see something like: <module 'PyQt4.QtGui' from 'c:\Python31\lib\site-packages \PyQt4\QtGui.pyd'> That's all there is to it. If you have problems, please seek help from the Python or Riverbank computing people. Edward -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/leo-editor?hl=en.
