DearPyGui: ModuleNotFoundError

**Version of Dear PyGui: **

Version: 0.1.0b12

OS

Operating System: Windows 10

My Issue/Question I get a ModuleNotFoundError when i try to start the hello world example.

ModuleNotFoundError: No module named 'dearpygui.dearpygui'; 'dearpygui' is not a package

To Reproduce

I installed through pip with pip install dearpygui

I firstly did try to start with an old environment (python 3.7.3) this had the mentioned result. Afterwards I made a fresh environment with python 3.7.7 and this had the same result.

Standalone, minimal, complete and verifiable example:

from dearpygui.dearpygui import *

add_text("Hello world")
add_button("Save", callback="save_callback")
add_input_text("string")
add_slider_float("float")

def save_callback(sender, data):
    print("Save Clicked")

start_dearpygui()

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 21 (9 by maintainers)

Most upvoted comments

This issue can be triggered if your filename of the python script you are trying to run is “dearpygui.py”. If you rename it to something else, it should run fine.