hoffstadt / DearPyGui

Dear PyGui: A fast and powerful Graphical User Interface Toolkit for Python with minimal dependencies
https://dearpygui.readthedocs.io/en/latest/
MIT License
12.62k stars 669 forks source link

After successful build, `ModuleNotFoundError: No module named 'dearpygui._dearpygui'` on Raspberry Pi 5 when importing dpg #2342

Closed ghassett closed 3 weeks ago

ghassett commented 3 weeks ago

Version of Dear PyGui:

dearpygui-1.11.1-cp311-cp311-linux_aarch64.whl

Operating System:

$ cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

My Issue/Question

I built the dpg wheel on my Raspberry Pi 5 -- the build went well, and the pip install <my-whl-file> also succeeded. However, when I try to import dearpygui.dearpygui I get "module not found":

In [1]: import dearpygui.dearpygui
---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-1-b3e16b22199f> in ?()
----> 1 import dearpygui.dearpygui

~/myproj/DearPyGui/dearpygui/dearpygui.py in ?()
     18 from contextlib import contextmanager
     19 import warnings
     20 import functools
     21 import inspect
---> 22 import dearpygui._dearpygui as internal_dpg
     23 from dearpygui._dearpygui import mvBuffer
     24 from dearpygui._dearpygui import mvVec4
     25 from dearpygui._dearpygui import mvMat4

ModuleNotFoundError: No module named 'dearpygui._dearpygui'

Similar issues were reported a while back in this issue. Wondering if anyone has any further insight. The build went really well, I was so hopeful to get dpg running on my Pi 5!

ghassett commented 3 weeks ago

After restarting my Pi, I no longer get this error. Remains a mystery, but closing issue.