You are not logged in.

#1 2015-02-11 20:36:54

RogerCrocker
Member
Registered: 2015-02-11
Posts: 1

Conflict between python-pyqt4 and python-pyqt5

Hi!

When trying to use matplotlib in the Spyder Python IDE I get the following error

RuntimeError: the PyQt5.QtCore and PyQt4.QtCore modules both wrap the QObject class

It's obviously a conflict between pyqt4 and pyqt5. However, pyqt4 is a hard dependency of Spyder and pyqt5 is a hard dependency of matplotlib. Outside Spyder, matplotlib works fine.

Does anybody know how to resolve this conflict? Or is it a packaging issue? Shall I file a bug report? I think a discussion about matplotlib depending on Qt5 had already been going on here.

Offline

#2 2015-02-12 03:00:52

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Conflict between python-pyqt4 and python-pyqt5

Does it work with https://aur.archlinux.org/packages/pyth … tlib-noqt/ ?
I think it's OK to open a bug report.

Offline

Board footer

Powered by FluxBB