-
Hello Guys, 2 days ago, I wanted to test Dearpygui, but it doesn't work on my PC, so i'll check if some people have had the same problem on the internet but their solutions haven't changed anything. Basically, when I try to run a test program on PowerShell, the program starts and closes a few seconds later without displaying anything, no errors, no windows. in the command prompt it says it can't find the lib. https://user-images.githubusercontent.com/43626002/137426285-5296cabf-e16c-4451-9e78-53818851ae34.mp4 The code: with dpg.window(label="Example Window"): dpg.start_dearpygui() pip list: Package Version astroid 2.4.2 pip debug: WARNING: This command is only meant for debugging. Do not use this with automation for parsing and getting these details, since the output and options of this command may change without notice. Thanks for the help ! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You are running a 0.8 example. Try this: import dearpygui.dearpygui as dpg
from dearpygui.demo import show_demo
dpg.create_context()
dpg.create_viewport()
dpg.setup_dearpygui()
show_demo()
dpg.show_viewport()
dpg.start_dearpygui()
dpg.destroy_context() |
Beta Was this translation helpful? Give feedback.
You are running a 0.8 example. Try this: