Skip to content

Commit

Permalink
Update weaviate installation to check for weaviate pkg instead of we…
Browse files Browse the repository at this point in the history
…aviate-client

weaviate-client won't be found by importlib.util.find_spec, should be searching for weaviate to check dependency installation instead

Signed-off-by: Amrit Singh <[email protected]>
  • Loading branch information
amrit2cisco authored Oct 27, 2023
1 parent a9b94f4 commit 1ecf5e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gptcache/utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -266,4 +266,4 @@ def import_starlette():


def import_weaviate():
_check_library("weaviate-client")
_check_library("weaviate", package="weaviate-client")

0 comments on commit 1ecf5e3

Please sign in to comment.