AttributeError: module 'collections' has no attribute 'MutableMapping' - Solution
by - Thursday, January 1, 1970 at 12:00 AM
[align=center][size=x-large][b]What to do if we see this error[/b][/size][/align][Example] [code]Traceback (most recent call last): File "/usr/local/bin/pip", line 7, in from pip._internal.cli.main import main File "/usr/lib/python3/dist-packages/pip/__init__.py", line 22, in from pip._vendor.requests.packages.urllib3.exceptions import DependencyWarning File "/usr/lib/python3/dist-packages/pip/_vendor/__init__.py", line 73, in vendored("pkg_resources") File "/usr/lib/python3/dist-packages/pip/_vendor/__init__.py", line 33, in vendored __import__(modulename, globals(), locals(), level=0) File "/usr/share/python-wheels/pkg_resources-0.0.0-py2.py3-none-any.whl/pkg_resources/__init__.py", line 77, in File "/usr/share/python-wheels/pkg_resources-0.0.0-py2.py3-none-any.whl/pkg_resources/_vendor/packaging/requirements.py", line 9, in File "", line 1027, in _find_and_load File "", line 1006, in _find_and_load_unlocked File "", line 672, in _load_unlocked File "", line 632, in _load_backward_compatible File "/usr/share/python-wheels/pkg_resources-0.0.0-py2.py3-none-any.whl/pkg_resources/extern/__init__.py", line 43, in load_module File "/usr/share/python-wheels/pkg_resources-0.0.0-py2.py3-none-any.whl/pkg_resources/_vendor/pyparsing.py", line 943, in AttributeError: module 'collections' has no attribute 'MutableMapping'[/code]It appeared for me when I tried to open Tor Browser in Kali.[align=center][size=x-large][u][b]What is the solution? [/b][/u][/size][/align][hide] [code]pip install --upgrade pippip install --upgrade wheelpip install --upgrade setuptoolspip install --upgrade requestssudo apt update[/code][/hide]
Reply


 Users viewing this thread: AttributeError: module 'collections' has no attribute 'MutableMapping' - Solution: No users currently viewing.