Skip to content

Commit 54fe2eb

Browse files
committed
Better error message when trying to use without having it installed
1 parent e2613ff commit 54fe2eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/neo4j_graphrag/experimental/pipeline/pipeline.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ def _get_neo4j_viz_graph(
215215
"""Generate a neo4j-viz visualization of the pipeline graph"""
216216
if not neo4j_viz_available:
217217
raise ImportError(
218-
"Could not import neo4j-viz. Install it with 'pip install neo4j-viz'"
218+
"Could not import neo4j-viz. Install it with 'pip install \"neo4j-graphrag[experimental]\"'"
219219
)
220220

221221
self.validate_parameter_mapping()

0 commit comments

Comments
 (0)