Версия для печати темы
Нажмите сюда для просмотра этой темы в оригинальном формате |
Форум программистов > Python: Разработка GUI > Установка PyQt 4.5.2 |
Автор: AIs 17.7.2009, 15:35 | ||||||
Скачал PyQt и SIP вышеуказанных версий, распаковал в C:\Python26\PyQt и C:\Python26\sip соответственно. Зашел в C:\Python26\sip, запустил
Скомпилировалось. Затем
Теперь перешел в C:\Python26\PyQt, запустил
И вот здесь мне выдается ошибка: Determining the layout of your Qt installation... This is the GPL version of PyQt 4.5.2 (licensed under the GNU General Public License) for Python 2.6.2 on win32. Type '2' to view the GPL v2 license. Type '3' to view the GPL v3 license. Type 'yes' to accept the terms of the license. Type 'no' to decline the terms of the license. Do you accept the terms of the license? yes Checking to see if the QtGui module should be built... Checking to see if the QtHelp module should be built... Checking to see if the QtNetwork module should be built... Checking to see if the QtOpenGL module should be built... Checking to see if the QtScript module should be built... Checking to see if the QtScriptTools module should be built... Checking to see if the QtSql module should be built... Checking to see if the QtSvg module should be built... Checking to see if the QtTest module should be built... Checking to see if the QtWebKit module should be built... Checking to see if the QtXml module should be built... Checking to see if the QtXmlPatterns module should be built... Checking to see if the phonon module should be built... Checking to see if the QtAssistant module should be built... Checking to see if the QtDesigner module should be built... Checking to see if the QAxContainer module should be built... Qt v4.5.2 free edition is being used. SIP 4.8.1 is being used. The Qt header files are in C:/Qt/2009.03/qt/include. The shared Qt libraries are in C:/Qt/2009.03/qt/lib. The Qt binaries are in C:/Qt/2009.03/qt/bin. The Qt mkspecs directory is in C:/Qt/2009.03/qt. These PyQt modules will be built: QtCore, QtGui, QtHelp, QtNetwork, QtOpenGL, QtScript, QtScriptTools, QtSql, QtSvg, QtTest, QtWebKit, QtXml, QtXmlPatterns, QtAssistant, QtDesigner, QAxContainer. The PyQt Python package will be installed in C:\Python26\Lib\site-packages. The Designer plugin will be installed in C:/Qt/2009.03/qt/plugins\designer. The PyQt .sip files will be installed in C:\Python26\sip\PyQt4. pyuic4, pyrcc4 and pylupdate4 will be installed in C:\Python26. Generating the C++ source for the QtCore module... "C:\Python26\sip" не является внутренней или внешней командой, исполняемой программой или пакетным файлом. Error: Unable to create the C++ code. Вопрос: в чем же проблема? Может быть, C:\Python26\PyQt\configure.py надо запускать с какими-то параметрами? Или я неправильно разложил каталоги? |
Автор: merfi 1.9.2009, 22:06 |
Я долго париося с этим питоном . Скачай PyQT с офиц сайта там есть установщик для винды мне кажется так и Питон должен быть тот что нужно |