-
Notifications
You must be signed in to change notification settings - Fork 44.3k
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
Command browse_website
fails on Python 3.10 due to Beautiful Soup 4
#2514
Comments
…' command to fail on Python 3.10 and 3.11. Closes Significant-Gravitas#2514.
Hey folks, I can now confirm the following. In all four cases adding the lines I mentioned above fixes the issue 🎉 |
Created a PR for the issue: #2596 |
Is this still broken in branch |
Hey @Pwuts, I've just tested it on |
Hi, I use Ubuntu/Linux, but actually I just found a better/more elegant solution. Simply upgrade Beautiful Soup4 to the latest version:
My previous version was Tested on Auto-GPT Will provide a new PR for that. |
…' command to fail on Python 3.10 and 3.11. Closes Significant-Gravitas#2514. Simplified version of the fix.
PR #2680 created... ready to roll 🎉 |
Nice, thanks! |
Which Operating System are you using?
Linux
GPT-3 or GPT-4?
GPT-4
Steps to reproduce 🕹
Python Version:
3.10.11
Beautiful Soup 4 Version:
4.6.0
Goal can be anything that requires Google search and web browsing.
Current behavior 😯
Site browsing/parsing fails with
module 'collections' has no attribute 'Callable'
Expected behavior 🤔
I was able to fix the issue by following: https://stackoverflow.com/questions/69515086/error-attributeerror-collections-has-no-attribute-callable-using-beautifu
In particular, added the following imports to the file
web_selenium.py
beforefrom bs4 import BeautifulSoup
I can provided PR for that if needed.
Your prompt 📝
N/A
Your Logs 📒
The text was updated successfully, but these errors were encountered: