DearPyGui icon indicating copy to clipboard operation
DearPyGui copied to clipboard

dearpygui fails to install on RaspberryPi 4 / 64bit OS

Open ThisLimn0 opened this issue 2 years ago • 2 comments

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

Bildschirmfoto 2022-05-04 um 23 06 39 Bildschirmfoto 2022-05-05 um 00 25 46 Bildschirmfoto 2022-05-04 um 23 29 02

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.

ThisLimn0 avatar May 04 '22 22:05 ThisLimn0

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

PINTO0309 avatar May 31 '22 01:05 PINTO0309

Okay, this works but leads to different issues i'm going to report later.

ThisLimn0 avatar Jun 04 '22 13:06 ThisLimn0

@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).

qbilius avatar Sep 04 '23 13:09 qbilius