[PyQt] sip api not compatible with PyQt.Chart

Phil Thompson phil at riverbankcomputing.com
Sat Apr 6 06:29:15 BST 2019


On 6 Apr 2019, at 6:08 pm, Warren Hardy <hellfire.xray at gmail.com> wrote:
> 
> I have been building your code on linux, building sip, QScintilla, PyQt and PyQtChart. 
> 
> I am porting the mu-editor from https://codewith.mu to Aach64/Arm64 ubuntu 18.04 LTS.
> 
> All builds fine, but when I run the code I am getting this runtime error "from PyQt5.QtChart import QChart, QLineSeries, QChartView, QValueAxis
> RuntimeError: the sip module implements API v12.0 to v12.3 but the PyQt5.QtChart module requires API v12.6"
> 
> sip is 4.19.15. I also tried the dev version sip-4.19.16.dev1904061005.

As I said, you have an older version of the sip module installed somewhere. To find it run...

from PyQt5 import sip
sip.__file__

Phil


More information about the PyQt mailing list