DearPyGui
DearPyGui copied to clipboard
Don't work on macOS
Hi,
Im trying to run on my macbook intel with macos mojave:
pip install dearpygui
Successfully installed dearpygui-1.6.2
My demo code:
import dearpygui.dearpygui as dpg
import dearpygui.demo as demo
dpg.create_context()
dpg.create_viewport(title='Custom Title', width=600, height=600)
demo.show_demo()
dpg.setup_dearpygui()
dpg.show_viewport()
dpg.start_dearpygui()
dpg.destroy_context()
Error:
python demo.py
Traceback (most recent call last):
File "/Users/paulo/Developer/workspaces/python/deargui/demo.py", line 1, in <module>
import dearpygui.dearpygui as dpg
File "/usr/local/lib/python3.9/site-packages/dearpygui/dearpygui.py", line 22, in <module>
import dearpygui._dearpygui as internal_dpg
ImportError: dlopen(/usr/local/lib/python3.9/site-packages/dearpygui/_dearpygui.so, 0x0002): Library not loaded: /usr/local/opt/libpng/lib/libpng16.16.dylib
Referenced from: /usr/local/lib/python3.9/site-packages/dearpygui/_dearpygui.so
Reason: tried: '/usr/local/opt/libpng/lib/libpng16.16.dylib' (no such file), '/usr/local/lib/libpng16.16.dylib' (no such file), '/usr/lib/libpng16.16.dylib' (no such file)
It looks like you may need to install libpng16? brew install libpng
should install that.
Appears to be duplicate of #1397.
We haven't received any complaints from other users during the last couple of months. Issue is probably solved or highly dependent on specific computer setup.