Installation of PyQt5 in Raspberry Pi 4 (aarch64, debian11-bullseye)

Viewed 439

May I know if there are any tricks for installing PyQt5 in Raspberry Pi? After trying to install PyQt5 by using pip, the process hangs at "Preparing metadata". I had tried adding its dependencies already, but the problem below still occurs.

#p/s: I managed to run sudo apt install python3-pyqt5 but still failed to import PyQt5

Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting PyQt5==5.15.2
  Downloading PyQt5-5.15.2.tar.gz (3.3 MB)
     ---------------------------------- 3.3/3.3 MB 2.0 MB/s eta 0:00:00
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... |
1 Answers
Related