DearPyGui
DearPyGui copied to clipboard
dearpygui fails to install on RaspberryPi 4 / 64bit OS
Version of Dear PyGui
Version: 1.6 Operating System: armv8
My Issue/Question
When trying to install dearpygui on a Raspberry Pi 4 System as a dependency of a project, it fails to install via pip install dearpygui
, pip3 install dearpygui
.
also the fully manual way described here (https://github.com/hoffstadt/DearPyGui/wiki/Local-Wheel) fails completely. We also tried to build a wheel with the parameter linux_armv8l but that also failed
To Reproduce
Try to install dearpygui on a Raspberry Pi 4 System.
Expected behavior
It installs right away without having to resort to stuff like building a wheel.
Screenshots/Video



P.S. We also verified the Steps above for a RaspberryPi 3B with and without 64bit OS and on a 4B with 32bit OS, all failed to install.
64-bit wheel succeeded without any problems.
Build Procedure
$ sudo apt update && sudo apt upgrade -y
$ sudo apt install -y \
cmake \
libglu1-mesa-dev \
libgl1-mesa-dev \
libxrandr-dev \
libxinerama-dev \
libxcursor-dev \
libxi-dev
$ git clone --recursive https://github.com/hoffstadt/DearPyGui && cd DearPyGui
$ git checkout beccb0568e59fee74f6f7bf77c30ad55c233d045
$ python3 -m setup bdist_wheel --dist-dir ../dist
$ ls -l ../dist
dearpygui-1.6.3-cp310-cp310-linux_aarch64.whl
Unofficial Wheel
-
Ubuntu 22.04 dearpygui-1.6.3-cp310-none-linux_aarch64.zip
Okay, this works but leads to different issues i'm going to report later.
@PINTO0309's approach did not work for me on RPi 4. I could compile without an issue, but I could not install the resulting wheel file (using pip install <name>.whl
. I don't have the exact error message but basically the issue was that somehow the wheel was not suitable for aarch64 – even though I compiled it on that exact RPI!
Then I tried doing python setup.py install
, which went without any issues but when I tried running import dearpygui.dearpygui as dpg
, I got No module named 'dearpygui._dearpygui'
(importing just dearpygui
works though).