-
Notifications
You must be signed in to change notification settings - Fork 15.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
crash because of missing bs4 dependency in version 2.12 #6679
Comments
Answer generated by a 🤖 AnswerThe crash is caused by a missing
Then, run Sources
This response is meant to be useful, save you time, and share context. It is not meant to be a precise solution, but rather a starting point for your own research. Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant. |
Yes, it should be a local import. I can push a fix shortly. |
Fix is up: #6693 |
System Info
Langchain: 2.12
commit: #6455
version 2.11 does niet have this
Who can help?
@rlancemartin, @eyurtsev
Information
Related Components
Reproduction
workaround: install bs4 manually (pip install bs4)
from langchain.agents import initialize_agent, AgentType
leads to:
requirements.txt:
Expected behavior
I think
from bs4 import BeautifulSoup
in recursive_url_loader.py
should have been a local import
The text was updated successfully, but these errors were encountered: