Skip to content

Import problems. #1331

Answered by hoffstadt
ElPoireau asked this question in Support
Oct 15, 2021 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

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()

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ElPoireau
Comment options

Answer selected by ElPoireau
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Support
Labels
None yet
2 participants