Search code examples
pyqt5siparchlinuxqcustomplotpython-sip

How to install QCustomPlot for PyQt5 on Arch Linux


I want to use QCustomPlot with PyQt5 on Arch Linux but I'm having trouble installing it. I already installed the sip package but the setup fails with the following error:

ModuleNotFoundError: No module named 'sipdistutils'

Link to repo: https://github.com/dimv36/QCustomPlot-PyQt5


Solution

  • You need to install both python-sip and sip otherwise the setup will fail:

    pacman -S python-pyqt5 python-sip sip
    pip install git+https://github.com/dimv36/QCustomPlot-PyQt5
    

    Some examples