ashawkey / stable-dreamfusion

Text-to-3D & Image-to-3D & Mesh Exportation with NeRF + Diffusion.
Apache License 2.0
8.2k stars 721 forks source link

Not able to import dearpygui._dearpygui #34

Open DanahYatim opened 1 year ago

DanahYatim commented 1 year ago

When running main.py I get the following error:

 File "main.py", line 8, in <module>
    from nerf.gui import NeRFGUI
  File "nerf/gui.py", line 4, in <module>
    import dearpygui.dearpygui as dpg
  File "lib/python3.9/site-packages/dearpygui/dearpygui.py", line 22, in <module>
    import dearpygui._dearpygui as internal_dpg
ImportError: /lib64/libm.so.6: version `GLIBC_2.27' not found (required by lib/python3.9/site-packages/dearpygui/_dearpygui.so)

Any suggestions for fixing this?

ashawkey commented 1 year ago

@DanahYatim Hi, what's the OS? You could try to build dearpygui from source.

DanahYatim commented 1 year ago

Hi, I see that I have centos version 7.9 which is related to GLIBC 2.17, guess this older version is the issue. Is there any guidance for building dearpygui from source? Don't have much experience with cmake.