pthom / imgui_bundle

Dear ImGui Bundle: an extensive set of Ready-to-use widgets and libraries, based on ImGui. Start your first app in 5 lines of code, or less. Whether you prefer Python or C++, this pack has your back!
https://pthom.github.io/imgui_bundle/
MIT License
601 stars 64 forks source link

I installed the imgui-bundle using 'pip install -v .' with Python 3.10.12, but I'm getting an error when trying to import it. #233

Closed iloveyehan closed 6 days ago

iloveyehan commented 1 week ago

system:win11 python 3.10 error msg: append imgui G:\work\001Blender\blender_init\addons\color_picker\extern\imgui_bundle3_10 Traceback (most recent call last): File "G:\work\001Blender\stable\blender-4.0.2-windows-x64\4.0\scripts\modules\addon_utils.py", line 364, in enable mod = importlib.import_module(module_name) File "G:\work\001Blender\stable\blender-4.0.2-windows-x64\4.0\python\lib\importlib__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1050, in _gcd_import File "", line 1027, in _find_and_load File "", line 1006, in _find_and_load_unlocked File "", line 688, in _load_unlocked File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "G:\work\001Blender\blender_init\addons\color_picker__init.py", line 5, in from .widget import get_wheeL_tri, convert_hsv2rgb32_color3, color_bar, colorpicker, color_palette,picker_switch_button File "G:\work\001Blender\blender_init\addons\color_picker\widget.py", line 7, in from .extern.imgui_bundle3_10.imgui_bundle import imgui File "G:\work\001Blender\blender_init\addons\color_picker\extern\imgui_bundle3_10\imgui_bundle\init.py", line 2, in from imgui_bundle._imgui_bundle import imgui as imgui # type: ignore File "G:\work\001Blender\blender_init\addons\color_picker\extern\imgui_bundle3_10\imgui_bundle\init__.py", line 2, in from imgui_bundle._imgui_bundle import imgui as imgui # type: ignore ImportError: DLL load failed while importing _imgui_bundle: 找不到指定的模块。

pthom commented 6 days ago

https://chatgpt.com/share/8d2b41be-786e-4b03-9a62-3cfad88a8b33

iloveyehan commented 6 days ago

thank u!