nextgis / qgis_molusce

Modules for Land Use Change Simulations
https://github.com/nextgis/molusce
GNU General Public License v2.0
43 stars 17 forks source link

Conflict PyQt4 and PyQt5 in Manjaro Linux #3

Closed samtux closed 9 years ago

samtux commented 9 years ago

Thank for this excellent module. For Manjaro Linux, I require PyQt4 and PyQt5 libraries, however qgis closes when I try to enable Mollusce module. The error is as follows:

This plugin is broken
the PyQt5.QtCore and PyQt4.QtCore Both modules wrap the QObject class
KolesovDmitry commented 9 years ago

@samtux, could you provide information about the qgis version? I'll try to reproduce the error

samtux commented 9 years ago

Thanks, the version is 2.4.0 Chugiak. Attached image of the error generated when installing the module:

http://i4.minus.com/iOHVH3IEn78Iy.png

simgislab commented 9 years ago

This is not QGIS/MOLUSCE problem. You can't have both PyQt4 and PyQt5 on system.

Unfortunately it is not possible to use both the PyQt4 and PyQt5 installers at the same time. If you wish to have both PyQt4 and PyQt5 installed at the same time you will need to build them yourself from the source packages

http://www.riverbankcomputing.co.uk/software/pyqt/download

samtux commented 9 years ago

Thanks @simgislab, I managed to fix the installation of Molusce, uninstalling PyQt5. But this problem persists in the Arch Linux distribution.