From ae528fd06e005992e6b0d6a623acb83de27c578d Mon Sep 17 00:00:00 2001 From: Daniel Chalef <131175+danielchalef@users.noreply.github.com> Date: Thu, 20 Apr 2023 15:03:32 -0600 Subject: [PATCH] fix error msg ref to beautifulsoup4 (#3242) Co-authored-by: Daniel Chalef --- langchain/document_loaders/html_bs.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/langchain/document_loaders/html_bs.py b/langchain/document_loaders/html_bs.py index c90e32d7..fc636367 100644 --- a/langchain/document_loaders/html_bs.py +++ b/langchain/document_loaders/html_bs.py @@ -24,7 +24,8 @@ class BSHTMLLoader(BaseLoader): import bs4 # noqa:F401 except ImportError: raise ValueError( - "bs4 package not found, please install it with " "`pip install bs4`" + "beautifulsoup4 package not found, please install it with " + "`pip install beautifulsoup4`" ) self.file_path = file_path