Install for Python
Install from pypi
# Minimal install
pip install imgui-bundle
# or to get all optional features:
pip install "imgui-bundle[full]"
Binary wheels are available for Windows, MacOS and Linux. If a compilation from source is needed, the build process might take up to 5 minutes, and will require an internet connection.
Platform notes
-
Windows: Under windows, you might need to install msvc redist.
-
macOS : under macOS, if a binary wheel is not available (e.g. for older macOS versions), pip will try to compile from source. This might fail if you do not have XCode installed. In this case, install imgui-bundle with the following command
SYSTEM_VERSION_COMPAT=0 pip install --only-binary=:all: imgui_bundle
Install from source
# Clone the repository
git clone https://github.com/pthom/imgui_bundle.git
cd imgui_bundle
# Build and install the package (minimal install)
pip install -v .
# or build and install the package with all optional features:
# pip install -v ".[full]"
The build process might take up to 5 minutes, and will clone the submodules if needed (an internet connection is required).
Run the python demo
Simply run demo_imgui_bundle.
The source for the demos can be found inside bindings/imgui_bundle/demos_python.
|
Tip
|
Consider demo_imgui_bundle as an always available manual for Dear ImGui Bundle with lots of examples and related code source.
|