Skip to content

Commit 430435e

Browse files
committed
adjusting kuzu calls
1 parent 0dcf66c commit 430435e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

npcsh/knowledge_graph.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@
33
import datetime
44

55
import numpy as np
6-
import kuzu
6+
7+
try:
8+
import kuzu
9+
except ModuleNotFoundError:
10+
print("kuzu not installed")
711
from typing import Optional, Dict, List, Union, Tuple
812

913

0 commit comments

Comments
 (0)