Skip to content

fix: make graph_viewer import optional (USE_QT=OFF support)#151

Merged
nim65s merged 2 commits into
humanoid-path-planner:develfrom
DiegoP-G:devel
Jul 2, 2026
Merged

fix: make graph_viewer import optional (USE_QT=OFF support)#151
nim65s merged 2 commits into
humanoid-path-planner:develfrom
DiegoP-G:devel

Conversation

@DiegoP-G

@DiegoP-G DiegoP-G commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

pyhpp_plot/__init__.py unconditionally imported MenuActionProxy,
show_graph, show_graph_blocking and show_interactive_graph from
.graph_viewer, the Boost.Python extension built from graph_viewer.cc.
That extension is only compiled when hpp-plot is built with -DUSE_QT=ON
(see CMakeLists.txt), so import pyhpp_plot raised an ImportError as
soon as the package was built with -DUSE_QT=OFF

@nim65s nim65s left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks !

@nim65s nim65s merged commit 847aa2e into humanoid-path-planner:devel Jul 2, 2026
6 checks passed
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

Successfully merging this pull request may close these issues.

2 participants