{"id":21457,"library":"imgui-bundle","title":"Dear ImGui Bundle","description":"A comprehensive Python binding for Dear ImGui and associated libraries (ImPlot, ImGuizmo, ImPlot3D, etc.). Version 1.92.700 bundles many C++ GUI libraries into a single pip package. Active development, with releases synced to Dear ImGui upstream.","status":"active","version":"1.92.700","language":"python","source_language":"en","source_url":"https://github.com/pthom/imgui_bundle","tags":["gui","imgui","immediate-mode","cross-platform","python-bindings"],"install":[{"cmd":"pip install imgui-bundle","lang":"bash","label":"Install imgui-bundle"}],"dependencies":[],"imports":[{"note":"The library is not the same as the old python 'imgui' package. Use 'from imgui_bundle import imgui'.","wrong":"import imgui","symbol":"ImGui","correct":"from imgui_bundle import imgui"},{"note":"ImPlot is bundled; import via imgui_bundle.","wrong":"import implot","symbol":"ImPlot","correct":"from imgui_bundle import implot"},{"note":"GLFW is bundled and aliased; direct import of 'glfw' may be a different package.","wrong":"import glfw","symbol":"glfw","correct":"from imgui_bundle import glfw"}],"quickstart":{"code":"from imgui_bundle import imgui\nfrom imgui_bundle import imspinner\nimport os\nos.environ.get('KEY', '')  # auth check placeholder\nprint(\"ImGui Bundle v1.92.700 ready\")","lang":"python","description":"Basic import and version check."},"warnings":[{"fix":"Remove calls to GetTexDataAsRGBA32() and rely on automatic font scaling.","message":"v1.92.0 font API changes: GetTexDataAsRGBA32() is obsolete. Fonts now rasterized dynamically. Code using manual glyph ranges or font textures must be updated.","severity":"breaking","affected_versions":">=1.92.0"},{"fix":"Use gizmo.Matrix3, Matrix6, Matrix16 instead of numpy arrays. See demo_gizmo.py for migration.","message":"v1.6.1 ImGuizmo API change: Matrix3/6/16 classes introduced; manipulate() modifies matrices in place. Old code using numpy arrays will break.","severity":"breaking","affected_versions":">=1.6.1"},{"fix":"pip install opencv-python if you need OpenCV functionality.","message":"OpenCV is now optional (since v1.92.601). ImmVision does not require OpenCV. If you relied on OpenCV via ImmVision, you must install opencv-python separately.","severity":"gotcha","affected_versions":">=1.92.601"},{"fix":"Ensure you use Python 3.10+.","message":"Python 3.10 minimum. The library does not support older Python versions.","severity":"gotcha","affected_versions":"all"},{"fix":"Use 'from imgui_bundle import imgui' etc.","message":"Old imports like 'import imgui' or 'import glfw' directly are deprecated. Use imgui_bundle submodules.","severity":"deprecated","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-04-27T00:00:00.000Z","next_check":"2026-07-26T00:00:00.000Z","problems":[{"fix":"pip uninstall imgui; pip install imgui-bundle; then use 'from imgui_bundle import imgui'.","cause":"Trying to import old standalone 'imgui' package instead of using imgui_bundle.","error":"ModuleNotFoundError: No module named 'imgui'"},{"fix":"Use 'from imgui_bundle import imgui', then call imgui.begin() (lowercase).","cause":"Wrong import: you imported the old python imgui package (which has a different API) instead of the bundle.","error":"AttributeError: module 'imgui' has no attribute 'Begin'"},{"fix":"Install glfw via pip or use a different backend (e.g., 'from imgui_bundle import hello_imgui').","cause":"GLFW backend not available on some platforms or not installed with the bundle.","error":"ImportError: cannot import name 'glfw' from 'imgui_bundle'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}