Traceback (most recent call last):
  
 "/home/juanpi/virtual_enviroments/memnet/bin/ipython", line 8, in <module>
    sys.exit(start_ipython())
  
 "/home/juanpi/virtual_enviroments/memnet/lib/python3.8/site-packages/IPython/__init__.py", line 126, in start_ipython
    return launch_new_instance(argv=argv, **kwargs)
  
 "/home/juanpi/virtual_enviroments/memnet/lib/python3.8/site-packages/traitlets/config/application.py", line 664, in launch_instance
    app.start()
  
 "/home/juanpi/virtual_enviroments/memnet/lib/python3.8/site-packages/IPython/terminal/ipapp.py", line 356, in start
    self.shell.mainloop()
  
 "/home/juanpi/virtual_enviroments/memnet/lib/python3.8/site-packages/IPython/terminal/interactiveshell.py", line 564, in mainloop
    self.interact()
  
 "/home/juanpi/virtual_enviroments/memnet/lib/python3.8/site-packages/IPython/terminal/interactiveshell.py", line 547, in interact
    code = self.prompt_for_code()
  
 "/home/juanpi/virtual_enviroments/memnet/lib/python3.8/site-packages/IPython/terminal/interactiveshell.py", line 473, in prompt_for_code
    text = self.pt_app.prompt(
  
 "/home/juanpi/virtual_enviroments/memnet/lib/python3.8/site-packages/prompt_toolkit/shortcuts/prompt.py", line 994, in prompt
    return self.app.run(set_exception_handler=set_exception_handler)
  
 "/home/juanpi/virtual_enviroments/memnet/lib/python3.8/site-packages/prompt_toolkit/application/application.py", line 811, in run
    return loop.run_until_complete(
  
 "/usr/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
    return future.result()
  
 "/home/juanpi/virtual_enviroments/memnet/lib/python3.8/site-packages/prompt_toolkit/application/application.py", line 778, in run_async
    return await _run_async2()
  
 "/home/juanpi/virtual_enviroments/memnet/lib/python3.8/site-packages/prompt_toolkit/application/application.py", line 766, in _run_async2
    await self.cancel_and_wait_for_background_tasks()
  
 "/home/juanpi/virtual_enviroments/memnet/lib/python3.8/site-packages/prompt_toolkit/application/application.py", line 867, in cancel_and_wait_for_background_tasks
    await task
  
 "/home/juanpi/virtual_enviroments/memnet/lib/python3.8/site-packages/prompt_toolkit/buffer.py", line 1854, in new_coroutine
    await coroutine(*a, **kw)
  
 "/home/juanpi/virtual_enviroments/memnet/lib/python3.8/site-packages/prompt_toolkit/buffer.py", line 1683, in async_completer
    async for completion in self.completer.get_completions_async(
  
 "/home/juanpi/virtual_enviroments/memnet/lib/python3.8/site-packages/prompt_toolkit/completion/base.py", line 269, in get_completions_async
    async for completion in completer.get_completions_async(
  
 "/home/juanpi/virtual_enviroments/memnet/lib/python3.8/site-packages/prompt_toolkit/completion/base.py", line 196, in get_completions_async
    for item in self.get_completions(document, complete_event):
  
 "/home/juanpi/virtual_enviroments/memnet/lib/python3.8/site-packages/IPython/terminal/ptutils.py", line 116, in get_completions
    print_tb(e)
  
 "/usr/lib/python3.8/traceback.py", line 53, in print_tb
    print_list(extract_tb(tb, limit=limit), file=file)
  
 "/usr/lib/python3.8/traceback.py", line 72, in extract_tb
    return StackSummary.extract(walk_tb(tb), limit=limit)
  
 "/usr/lib/python3.8/traceback.py", line 347, in extract
    for f, lineno in frame_gen:
  
 "/usr/lib/python3.8/traceback.py", line 312, in walk_tb
    yield tb.tb_frame, tb.tb_lineno
AttributeError: 'ValueError' object has no attribute 'tb_frame'


Traceback (most recent call last):


 "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/runpy.py", line 193, in _run_module_as_main

"__main__", mod_spec)


 "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/runpy.py", line 85, in _run_code

exec(code, run_globals)


 "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pip/__main__.py", line 23, in <module>

from pip._internal.cli.main import main as _main
# isort:skip # noqa


 "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pip/_internal/cli/main.py", line 5, in <module>

import locale


 "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/locale.py", line 16, in <module>

import re


 "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/re.py", line 143, in <module>

class RegexFlag(enum.IntFlag):

AttributeError: module 'enum' has no attribute 'IntFlag'
