Skip to content

DearBagPlayer isn't compatible with the latest version of DearPyGui #11

@thandal

Description

@thandal

TL;DR: DearBagPlayer isn't compatible with the latest version of DearPyGui (2.0.0), which is what pip installs by default, so you have to downgrade to DearPyGui 1.11.1 or so.

(stack trace)
dearbagplayer/plot_window.py", line 113, in initHandlers
dpg.add_key_release_handler(key=dpg.mvKey_Control)
AttributeError: module 'dearpygui.dearpygui' has no attribute 'mvKey_Control'

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.5 LTS
Release: 22.04
Codename: jammy

$ pip install --upgrade dearpygui numpy
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: dearpygui in ./.local/lib/python3.10/site-packages (2.0.0)
Requirement already satisfied: numpy in ./.local/lib/python3.10/site-packages (2.2.6)

$ pip install --upgrade dearbagplayer
Requirement already satisfied: dearbagplayer in ./.local/lib/python3.10/site-packages (0.3.0)
...

After downgrading DearPyGui with pip install dearpygui==1.11.1 everything seems to be working.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions