如何在Arch Linux上为PyQt5安装QCustomPlot

时间:2019-07-04 12:22:50

标签: pyqt5 sip archlinux qcustomplot python-sip

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

ModuleNotFoundError: No module named 'sipdistutils'

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

1 个答案:

答案 0 :(得分:0)

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

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

Some examples