From b1158771fb00fef6c8ba9eba62dd252c2441c8b3 Mon Sep 17 00:00:00 2001 From: Keshav Kumar Date: Tue, 13 Jun 2023 21:07:07 +0530 Subject: [PATCH] Fix for ModuleNotFoundError while running langchain-server. Issue #5833 (#6077) This PR fixes the error `ModuleNotFoundError: No module named 'langchain.cli'` Fixes https://github.com/hwchase17/langchain/issues/5833 (issue) --- langchain/server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/langchain/server.py b/langchain/server.py index 750567ed4c012..b877f328236f1 100644 --- a/langchain/server.py +++ b/langchain/server.py @@ -2,7 +2,7 @@ import subprocess from pathlib import Path -from langchain.cli.main import get_docker_compose_command +from langchainplus_sdk.cli.main import get_docker_compose_command def main() -> None: