Dear ImGui Bundle
raw JSON → 1.92.700 verified Mon Apr 27 auth: no python
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.
pip install imgui-bundle Common errors
error ModuleNotFoundError: No module named 'imgui' ↓
cause Trying to import old standalone 'imgui' package instead of using imgui_bundle.
fix
pip uninstall imgui; pip install imgui-bundle; then use 'from imgui_bundle import imgui'.
error AttributeError: module 'imgui' has no attribute 'Begin' ↓
cause Wrong import: you imported the old python imgui package (which has a different API) instead of the bundle.
fix
Use 'from imgui_bundle import imgui', then call imgui.begin() (lowercase).
error ImportError: cannot import name 'glfw' from 'imgui_bundle' ↓
cause GLFW backend not available on some platforms or not installed with the bundle.
fix
Install glfw via pip or use a different backend (e.g., 'from imgui_bundle import hello_imgui').
Warnings
breaking v1.92.0 font API changes: GetTexDataAsRGBA32() is obsolete. Fonts now rasterized dynamically. Code using manual glyph ranges or font textures must be updated. ↓
fix Remove calls to GetTexDataAsRGBA32() and rely on automatic font scaling.
breaking v1.6.1 ImGuizmo API change: Matrix3/6/16 classes introduced; manipulate() modifies matrices in place. Old code using numpy arrays will break. ↓
fix Use gizmo.Matrix3, Matrix6, Matrix16 instead of numpy arrays. See demo_gizmo.py for migration.
gotcha 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. ↓
fix pip install opencv-python if you need OpenCV functionality.
gotcha Python 3.10 minimum. The library does not support older Python versions. ↓
fix Ensure you use Python 3.10+.
deprecated Old imports like 'import imgui' or 'import glfw' directly are deprecated. Use imgui_bundle submodules. ↓
fix Use 'from imgui_bundle import imgui' etc.
Imports
- ImGui wrong
import imguicorrectfrom imgui_bundle import imgui - ImPlot wrong
import implotcorrectfrom imgui_bundle import implot - glfw wrong
import glfwcorrectfrom imgui_bundle import glfw
Quickstart
from imgui_bundle import imgui
from imgui_bundle import imspinner
import os
os.environ.get('KEY', '') # auth check placeholder
print("ImGui Bundle v1.92.700 ready")