如何在 Arch 上为 PyQt5 安装 QCustomPlot Linux

How to install QCustomPlot for PyQt5 on Arch Linux

我想在 Arch Linux 上将 QCustomPlot 与 PyQt5 一起使用,但我在安装时遇到了问题。我已经安装了 sip 软件包,但安装失败并出现以下错误:

ModuleNotFoundError: No module named 'sipdistutils'

Link 回购:https://github.com/dimv36/QCustomPlot-PyQt5

您需要同时安装 python-sipsip 否则安装将失败:

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

Some examples