{"id":1084,"hash":"b034165c5cd9a138d38b6a9c20c9a6cfde6596c48a928a9e22405d11228c042c","pattern":"Error &quot;AttributeError &#39;collections&#39; has no attribute &#39;Callable&#39; &quot; using Beautiful Soup","full_message":"I followed all steps to install Beautiful Soup, but it still comes out with this error:\n\nAttributeError: module 'collections' has no attribute 'Callable'\n\nI am using Python 3.10.","ecosystem":"pypi","package_name":"beautifulsoup","package_version":null,"solution":"collections.Callable has been moved to collections.abc.Callable in python 3.10+. A hacky solution is to add the reference back to collections before importing the problem library.\n\nimport collections\ncollections.Callable = collections.abc.Callable\n\nfrom bs4 import BeautifulSoup # for example","confidence":0.95,"source":"stackoverflow","source_url":"https://stackoverflow.com/questions/69515086/error-attributeerror-collections-has-no-attribute-callable-using-beautifu","votes":38,"created_at":"2026-04-19T04:52:18.515823+00:00","updated_at":"2026-04-19T04:52:18.515823+00:00"}