Help with error message

I get the error below anytime I type ‘map’

Do you know how to fix this? Thanks!

Python 3

[IPKernelApp] ERROR | Exception in message handler: Traceback (most recent call last): File “/Users/carloshmireles/opt/anaconda3/lib/python3.7/site-packages/jedi/cache.py”, line 141, in wrapper return dct[key] KeyError: ((), frozenset())

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File “/Users/carloshmireles/opt/anaconda3/lib/python3.7/site-packages/jedi/evaluate/gradual/typeshed.py”, line 92, in wrapper python_context_set = evaluator.module_cache.get(import_names) File “/Users/carloshmireles/opt/anaconda3/lib/python3.7/site-packages/jedi/evaluate/imports.py”, line 50, in get return self._name_cache[string_names] KeyError: (‘typing’,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File “/Users/carloshmireles/opt/anaconda3/lib/python3.7/site-packages/parso/cache.py”, line 90, in load_module module_cache_item = parser_cache[hashed_grammar][file_io.path] KeyError: ‘/Users/carloshmireles/opt/anaconda3/lib/python3.7/typing.py’

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File “/Users/carloshmireles/opt/anaconda3/lib/python3.7/site-packages/ipykernel/kernelbase.py”, line 268, in dispatch_shell yield gen.maybe_future(handler(stream, idents, msg)) File “/Users/carloshmireles/opt/anaconda3/lib/python3.7/site-packages/tornado/gen.py”, line 735, in run value = future.result() File “/Users/carloshmireles/opt/anaconda3/lib/python3.7/site-packages/tornado/gen.py”, line 209, in wrapper yielded = next(result) File “/Users/carloshmireles/opt/anaconda3/lib/python3.7/site-packages/ipykernel/kernelbase.py”, line 579, in complete_request matches = yield gen.maybe_future(self.do_complete(code, cursor_pos)) File “/Users/carloshmireles/opt/anaconda3/lib/python3.7/site-packages/ipykernel/ipkernel.py”, line 354, in do_complete return self._experimental_do_complete(code, cursor_pos) File “/Users/carloshmireles/opt/anaconda3/lib/python3.7/site-packages/ipykernel/ipkernel.py”, line 379, in _experimental_do_complete completions = list(_rectify_completions(code, raw_completions)) File “/Users/carloshmireles/opt/anaconda3/lib/python3.7/site-packages/IPython/core/completer.py”, line 484, in rectify_completions completions = list(completions) File “/Users/carloshmireles/opt/anaconda3/lib/python3.7/site-packages/IPython/core/completer.py”, line 1815, in completions for c in self._completions(text, offset, _timeout=self.jedi_compute_type_timeout/1000): File “/Users/carloshmireles/opt/anaconda3/lib/python3.7/site-packages/IPython/core/completer.py”, line 1872, in _completions signature = _make_signature(jm) File “/Users/carloshmireles/opt/anaconda3/lib/python3.7/site-packages/IPython/core/completer.py”, line 989, in _make_signature return ‘(%s)’% ', '.join([f for f in (formatparamchildren§ for p in completion.params) if f]) File “/Users/carloshmireles/opt/anaconda3/lib/python3.7/site-packages/jedi/cache.py”, line 143, in wrapper result = method(self, *args, *kwargs) File “/Users/carloshmireles/opt/anaconda3/lib/python3.7/site-packages/jedi/api/classes.py”, line 338, in params for context in self._name.infer(): File “/Users/carloshmireles/opt/anaconda3/lib/python3.7/site-packages/jedi/evaluate/gradual/stub_context.py”, line 74, in infer inferred = super(_StubName, self).infer() File “/Users/carloshmireles/opt/anaconda3/lib/python3.7/site-packages/jedi/evaluate/names.py”, line 143, in infer return tree_name_to_contexts(parent.evaluator, parent, self.tree_name) File “/Users/carloshmireles/opt/anaconda3/lib/python3.7/site-packages/jedi/evaluate/syntax_tree.py”, line 612, in tree_name_to_contexts types = _apply_decorators(context, node) File “/Users/carloshmireles/opt/anaconda3/lib/python3.7/site-packages/jedi/evaluate/cache.py”, line 42, in wrapper rv = function(obj, args, *kwargs) File “/Users/carloshmireles/opt/anaconda3/lib/python3.7/site-packages/jedi/evaluate/syntax_tree.py”, line 646, in _apply_decorators dec_values = context.eval_node(dec.children[1]) File “/Users/carloshmireles/opt/anaconda3/lib/python3.7/site-packages/jedi/evaluate/base_context.py”, line 81, in eval_node return self.evaluator.eval_element(self, node) File “/Users/carloshmireles/opt/anaconda3/lib/python3.7/site-packages/jedi/evaluate/ init .py”, line 233, in eval_element return self._eval_element_if_evaluated(context, element) File “/Users/carloshmireles/opt/anaconda3/lib/python3.7/site-packages/jedi/evaluate/ init .py”, line 245, in _eval_element_if_evaluated return self._eval_element_cached(context, element) File “/Users/carloshmireles/opt/anaconda3/lib/python3.7/site-packages/jedi/evaluate/cache.py”, line 42, in wrapper rv = function(obj, args, kwargs) File “/Users/carloshmireles/opt/anaconda3/lib/python3.7/site-packages/jedi/evaluate/ init .py”, line 249, in eval_element_cached return eval_node(context, element) File “/Users/carloshmireles/opt/anaconda3/lib/python3.7/site-packages/jedi/debug.py”, line 82, in wrapper return func( *args, *kwargs) File “/Users/carloshmireles/opt/anaconda3/lib/python3.7/site-packages/jedi/evaluate/syntax_tree.py”, line 50, in wrapper return func(context, args, **kwargs) File “/Users/carloshmireles/opt/anaconda3/lib/python3.7/site-packages/jedi/evaluate/syntax_tree.py”, line 74, in eval_node return eval_atom(context, element) File “/Users/carloshmireles/opt/anaconda3/lib/python3.7/site-packages/jedi/evaluate/syntax_tree.py”, line 203, in eval_atom search_global=True File “/Users/carloshmireles/opt/anaconda3/lib/python3.7/site-packages/jedi/evaluate/base_context.py”, line 72, in py__getattribute return f.find(filters, attribute_lookup=not search_global) File “/Users/carloshmireles/opt/anaconda3/lib/python3.7/site-packages/jedi/evaluate/finder.py”, line 67, in find types = self._names_to_types(names, attribute_lookup) File “/Users/carloshmireles/opt/anaconda3/lib/python3.7/site-packages/jedi/evaluate/finder.py”, line 190, in names_to_types contexts = ContextSet.from_sets(name.infer() for name in names) File “/Users/carloshmireles/opt/anaconda3/lib/python3.7/site-packages/jedi/common/context.py”, line 32, in from_sets for set in sets: File “/Users/carloshmireles/opt/anaconda3/lib/python3.7/site-packages/jedi/evaluate/finder.py”, line 190, in contexts = ContextSet.from_sets(name.infer() for name in names) File “/Users/carloshmireles/opt/anaconda3/lib/python3.7/site-packages/jedi/evaluate/gradual/stub_context.py”, line 74, in infer inferred = super(_StubName, self).infer() File “/Users/carloshmireles/opt/anaconda3/lib/python3.7/site-packages/jedi/evaluate/names.py”, line 143, in infer return tree_name_to_contexts(parent.evaluator, parent, self.tree_name) File “/Users/carloshmireles/opt/anaconda3/lib/python3.7/site-packages/jedi/evaluate/syntax_tree.py”, line 610, in tree_name_to_contexts types = imports.infer_import(context, tree_name) File “/Users/carloshmireles/opt/anaconda3/lib/python3.7/site-packages/jedi/evaluate/cache.py”, line 42, in wrapper rv = function(obj, args,* kwargs) File “/Users/carloshmireles/opt/anaconda3/lib/python3.7/site-packages/jedi/evaluate/imports.py”, line 80, in infer_import types = importer.follow() File “/Users/carloshmireles/opt/anaconda3/lib/python3.7/site-packages/jedi/evaluate/imports.py”, line 296, in follow ) for parent_module_context in context_set File “/Users/carloshmireles/opt/anaconda3/lib/python3.7/site-packages/jedi/evaluate/imports.py”, line 296, in ) for parent_module_context in context_set File “/Users/carloshmireles/opt/anaconda3/lib/python3.7/site-packages/jedi/evaluate/ init .py”, line 139, in import_module sys_path, prefer_stubs=prefer_stubs) File “/Users/carloshmireles/opt/anaconda3/lib/python3.7/site-packages/jedi/plugins/flask.py”, line 24, in wrapper return callback(evaluator, import_names, module_context, *args, **kwargs) File "/Users/carlo