Traceback (most recent call last):


 "/home/felipe/tf-venv3/bin/kg", line 11, in <module>

sys.exit(main())


 "/home/felipe/tf-venv3/lib/python3.5/site-packages/kaggle_cli/main.py", line 21, in main

return app.run(argv)


 "/home/felipe/tf-venv3/lib/python3.5/site-packages/cliff/app.py", line 279, in run

result = self.run_subcommand(remainder)


 "/home/felipe/tf-venv3/lib/python3.5/site-packages/cliff/app.py", line 363, in run_subcommand

subcommand = self.command_manager.find_command(argv)


 "/home/felipe/tf-venv3/lib/python3.5/site-packages/cliff/commandmanager.py", line 83, in find_command

cmd_factory = cmd_ep.resolve()


 "/home/felipe/tf-venv3/lib/python3.5/site-packages/pkg_resources/__init__.py", line 2415, in resolve

module = __import__(self.module_name, fromlist=['__name__'], level=0)


 "/home/felipe/tf-venv3/lib/python3.5/site-packages/kaggle_cli/submit.py", line 8, in <module>

from . import common


 "/home/felipe/tf-venv3/lib/python3.5/site-packages/kaggle_cli/common.py", line 5, in <module>

from mechanicalsoup import Browser


 "/home/felipe/tf-venv3/lib/python3.5/site-packages/mechanicalsoup/__init__.py", line 2, in <module>

from .browser import Browser


 "/home/felipe/tf-venv3/lib/python3.5/site-packages/mechanicalsoup/browser.py", line 3, in <module>

import bs4


 "/usr/lib/python3/dist-packages/bs4/__init__.py", line 30, in <module>

from .builder import builder_registry, ParserRejectedMarkup


 "/usr/lib/python3/dist-packages/bs4/builder/__init__.py", line 314, in <module>

from . import _html5lib


 "/usr/lib/python3/dist-packages/bs4/builder/_html5lib.py", line 70, in <module>

class TreeBuilderForHtml5lib(html5lib.treebuilders._base.TreeBuilder):
AttributeError: module 'html5lib.treebuilders' has no attribute '_base'


Traceback (most recent call last):


 "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main

"__main__", mod_spec)


 "/usr/lib/python3.7/runpy.py", line 85, in _run_code

exec(code, run_globals)


 "/home/pi/.local/lib/python3.7/site-packages/pip/__main__.py", line 24, in <module>

sys.exit(_main())


 "/home/pi/.local/lib/python3.7/site-packages/pip/_internal/cli/main.py", line 71, in main

command = create_command(cmd_name, isolated=("--isolated" in cmd_args))


 "/home/pi/.local/lib/python3.7/site-packages/pip/_internal/commands/__init__.py", line 96, in create_command

module = importlib.import_module(module_path)


 "/usr/lib/python3.7/importlib/__init__.py", line 127, in import_module

return _bootstrap._gcd_import(name[level:], package, level)


 "<frozen importlib._bootstrap>", line 1006, in _gcd_import


 "<frozen importlib._bootstrap>", line 983, in _find_and_load


 "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked


 "<frozen importlib._bootstrap>", line 677, in _load_unlocked


 "<frozen importlib._bootstrap_external>", line 728, in exec_module


 "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed


 "/home/pi/.local/lib/python3.7/site-packages/pip/_internal/commands/install.py", line 15, in <module>

from pip._internal.cli.req_command import RequirementCommand, with_cleanup


 "/home/pi/.local/lib/python3.7/site-packages/pip/_internal/cli/req_command.py", line 16, in <module>

from pip._internal.index.collector import LinkCollector


 "/home/pi/.local/lib/python3.7/site-packages/pip/_internal/index/collector.py", line 16, in <module>

from pip._vendor import html5lib, requests


 "/home/pi/.local/lib/python3.7/site-packages/pip/_vendor/requests/__init__.py", line 123, in <module>

from . import utils


 "/home/pi/.local/lib/python3.7/site-packages/pip/_vendor/requests/utils.py", line 25, in <module>

from . import certs


 "/home/pi/.local/lib/python3.7/site-packages/pip/_vendor/requests/certs.py", line 15, in <module>

from pip._vendor.certifi import where


 "/home/pi/.local/lib/python3.7/site-packages/pip/_vendor/certifi/__init__.py", line 1, in <module>

from .core import contents, where


 "/home/pi/.local/lib/python3.7/site-packages/pip/_vendor/certifi/core.py", line 12, in <module>

from importlib.resources import path as get_path, read_text


 "/usr/lib/python3.7/importlib/resources.py", line 11, in <module>

from typing import Iterable, Iterator, Optional, Set, Union
# noqa: F401


 "/home/pi/.local/lib/python3.7/site-packages/typing.py", line 1359, in <module>

class Callable(extra=collections_abc.Callable, metaclass=CallableMeta):


 "/home/pi/.local/lib/python3.7/site-packages/typing.py", line 1007, in __new__

self._abc_registry = extra._abc_registry

AttributeError: type object 'Callable' has no attribute '_abc_registry'
