Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Failed to get python site-packages folder during imgui_bundle installation on Ubuntu #287

Closed
gunmong83 opened this issue Dec 3, 2024 · 1 comment

Comments

@gunmong83
Copy link

Hello,

I'm encountering an issue while trying to install imgui_bundle as a dependency for a project. During the installation process, I receive the following error:

'/usr/bin/python3.10' '-c' 'import site, os; print([p.replace('\', '/') for p in site.getsitepackages() if 'site-packages' in p][0])' Traceback (most recent call last): File "<string>", line 1, in <module> IndexError: list index out of range CMake Error at imgui_bundle_cmake/internal/litgen_setup_module.cmake:130 (message): Failed to get python site-packages folder Call Stack (most recent call first): imgui_bundle_cmake/internal/add_imgui_bundle_bindings.cmake:62 (litgen_setup_module) CMakeLists.txt:353 (add_imgui_bundle_bindings)

-- Configuring incomplete, errors occurred!

code

This code doesn't considers dist-packages but site-packages.

@pthom
Copy link
Owner

pthom commented Dec 4, 2024

This is likely fixed by e610658

However your error message likely means you are trying to install imgui-bundle without using a virtual environment, which is not recommended.

@pthom pthom closed this as completed Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants