[PyQt] Building PyQtChart

Phil Thompson phil at riverbankcomputing.com
Thu Oct 17 14:16:51 BST 2013


On Thu, 17 Oct 2013 08:18:57 -0400, Mark Mordeca
<mark.mordeca at prosensus.ca> wrote:
> Hello,
> 
> 
> 
> I have downloaded a 30-day trial of Qt Charts and want to build
PyQtChart
> for it, however the build is not working:
> 
> 
> 
> c:\QtEnterprise\PyQtCharts\PyQtChart-commercial-1.3>This is the
commercial
> versi
> 
> on of PyQtChart 1.3.
> 
> QtCommercialChart 1.3.0 is being used.
> 
> PyQt 4.9.5 is being used.
> 
> Qt v4.8.3 free edition is being used.
> 
> SIP 4.14.1 is being used.
> 
> The QtChart package will be installed in
> 
> C:\Python27_64\Lib\site-packages\PyQt4.
> 
> The QtChart .sip files will be installed in C:\Python27_64\sip\PyQt4.
> 
> The QtChart module is being built with generated docstrings.
> 
> Generating the C++ source for the QtChart module...
> 
> sip: Usage: sip [-h] [-V] [-a file] [-c dir] [-d file] [-e] [-g] [-I
dir]
> [-j #]
> 
> [-m file] [-p module] [-r] [-s suffix] [-t tag] [-w] [-x feature] [-z
file]
> [fi
> 
> le]
> 
> *Error: Unable to create the C++ code.*
> 
> * *
> 
> I don’t particularly understand what the problem is as all I get is this
> mysterious error.  I am building it with Visual Studio 2008 for 64bit. 
I
> haven’t had problems like this building PyQt.  Any help would be
> appreciated because I would like to see what the capability of PyQtChart
is
> before my trial runs out.

Looking at the usage message the version of sip.exe seems to be very old
(earlier than v4.10). The SIP version number displayed by configure.py is
taken from the sip Python module. So it looks like you have an old sip.exe
on your PATH somewhere.

Phil


More information about the PyQt mailing list