How to install PyQt5 in Python 3 (Ubuntu 14.04)

后端 未结 3 1645
感情败类
感情败类 2020-12-13 04:32

I need to port some code that\'s Python2+PyQt4 to Python3+PyQt5.

I started installing pip3

sudo apt-get install python3-pip

Works

3条回答
  •  遥遥无期
    2020-12-13 05:22

    Why not simply install it via apt-get?

    sudo apt-get install python3-pyqt5

    Otherwise you'd have to compile PyQt (and potentially Qt) by hand, which is cumbersome.

提交回复
热议问题