[PyQt] problem installing pyqt
Phil Thompson
phil at riverbankcomputing.com
Wed Dec 15 16:32:37 GMT 2010
On Wed, 15 Dec 2010 11:46:04 +0100 (CET), "lucaberto at libero.it"
<lucaberto at libero.it> wrote:
> Hello i'm under windows i have installed sip and qscintila when i try to
> install pyqt i get this error, can you help me to solve this:
> unable to create c++ code
>
> C:\Documents and
> Settings\Laboratorio\Desktop\Luca\PyQt-win-gpl-4.7.2>python
> con
> figure.py
> Determining the layout of your Qt installation...
> This is the GPL version of PyQt 4.7.2 (licensed under the GNU General
> Public
> License) for Python 2.6.5 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 QtMultimedia 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.6.2 free edition is being used.
> SIP 4.10.1 is being used.
> The Qt header files are in C:\Qt\4.6.2\include.
> The shared Qt libraries are in C:\Qt\4.6.2\lib.
> The Qt binaries are in C:\Qt\4.6.2\bin.
> The Qt mkspecs directory is in C:\Qt\4.6.2.
> These PyQt modules will be built: QtCore, QtGui, QtHelp, QtMultimedia,
> QtNetwork, QtOpenGL, QtScript, QtScriptTools, QtSql, QtSvg, QtTest,
> QtWebKit,
> QtXml, QtXmlPatterns, phonon, QtAssistant, QtDesigner.
> The PyQt Python package will be installed in
C:\Python26\Lib\site-packages.
> PyQt is being built with generated docstrings.
> The Designer plugin will be installed in C:\Qt\4.6.2\plugins\designer.
> The QScintilla API file will be installed in
C:\Qt\4.6.2\qsci\api\python.
> 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...
> sip: Usage: sip [-h] [-V] [-a file] [-b file] [-c dir] [-d file] [-e]
[-g]
> [-I
> d
> ir] [-j #] [-k] [-m file] [-o] [-p module] [-r] [-s suffix] [-t tag]
[-w]
> [-x
> fe
> ature] [-z file] [file]
> Error: Unable to create the C++ code.
>
> C:\Documents and Settings\Laboratorio\Desktop\Luca\PyQt-win-gpl-4.7.2>
> Thanks
Use a directory that doesn't contain spaces in the name.
Phil
More information about the PyQt
mailing list