Python 2.5 et PyQt : la totale
Bonjour,
Voilà je débute.
J'ai installé Python 2.5 sur Windows aucun problème
Mais maitenant j'essaye d'installer PyQT mais je lance l'executable
Et quand je fais un import de QT ça me dit :
Sorry, please install PyQt.
Error: No module named qt
Je comprend pas
J''ai vu un truc où faut installer SIP mais je vois pas quoi faire avec le Makefile je suis sur Windows :D
Merci de votre aide
Python 2.5 + PyQt4.3 + Qt4.3 tout pres
sur ce lien
http://www.riverbankcomputing.co.uk/pyqt/download.php
en bas de page
-->>
Binary Packages
The binary installer for Windows contains everything needed for PyQt development except for Python itself.
* PyQt
* Qt (with database support for SQLite3 and ODBC)
* Qt Designer
* Qt Linguist
* Qt Assistant
* pyuic4
* pylupdate4
* lrelease
* pyrcc4
* QScintilla
* PyQwt
* Qwt
* eric IDE
PyQt-Py2.5-gpl-4.3.1-1.exe PyQt v4 GPL for Windows and Python v2.5
-------------------
installez Python25 , la distrib officielle c mieux, puis installez le paquet
de riverbanks et EN AVANT !!!
Une bonne pratique à avoir...
Il vaut mieux utiler le module os, puis le code suivant :
Code:
sys.path.append(os.path.join('C:', 'Program Files', 'Quantum GIS', 'python'))
Le module os rendra ton code multi-plateforme. :king: