Traceback (most recent call last):


 "/home/wy/.espressif/python_env/idf4.2_py3.6_env/bin/ipython", line 8, in <module>

sys.exit(start_ipython())


 "/home/wy/.espressif/python_env/idf4.2_py3.6_env/lib/python3.6/site-packages/IPython/__init__.py", line 126, in start_ipython

return launch_new_instance(argv=argv, **kwargs)


 "/home/wy/.espressif/python_env/idf4.2_py3.6_env/lib/python3.6/site-packages/traitlets/config/application.py", line 664, in launch_instance

app.start()


 "/home/wy/.espressif/python_env/idf4.2_py3.6_env/lib/python3.6/site-packages/IPython/terminal/ipapp.py", line 356, in start

self.shell.mainloop()


 "/home/wy/.espressif/python_env/idf4.2_py3.6_env/lib/python3.6/site-packages/IPython/terminal/interactiveshell.py", line 563, in mainloop

self.interact()


 "/home/wy/.espressif/python_env/idf4.2_py3.6_env/lib/python3.6/site-packages/IPython/terminal/interactiveshell.py", line 546, in interact

code = self.prompt_for_code()


 "/home/wy/.espressif/python_env/idf4.2_py3.6_env/lib/python3.6/site-packages/IPython/terminal/interactiveshell.py", line 474, in prompt_for_code

**self._extra_prompt_options())


 "/home/wy/.espressif/python_env/idf4.2_py3.6_env/lib/python3.6/site-packages/prompt_toolkit/shortcuts/prompt.py", line 1021, in prompt

set_exception_handler=set_exception_handler, in_thread=in_thread


 "/home/wy/.espressif/python_env/idf4.2_py3.6_env/lib/python3.6/site-packages/prompt_toolkit/application/application.py", line 888, in run

self.run_async(pre_run=pre_run, set_exception_handler=set_exception_handler)


 "/usr/lib/python3.6/asyncio/base_events.py", line 484, in run_until_complete

return future.result()


 "/home/wy/.espressif/python_env/idf4.2_py3.6_env/lib/python3.6/site-packages/prompt_toolkit/application/application.py", line 816, in run_async

return await _run_async2()


 "/home/wy/.espressif/python_env/idf4.2_py3.6_env/lib/python3.6/site-packages/prompt_toolkit/application/application.py", line 798, in _run_async2

await self.cancel_and_wait_for_background_tasks()


 "/home/wy/.espressif/python_env/idf4.2_py3.6_env/lib/python3.6/site-packages/prompt_toolkit/application/application.py", line 945, in cancel_and_wait_for_background_tasks

await task


 "/home/wy/.espressif/python_env/idf4.2_py3.6_env/lib/python3.6/site-packages/prompt_toolkit/buffer.py", line 1909, in new_coroutine

await coroutine(*a, **kw)


 "/home/wy/.espressif/python_env/idf4.2_py3.6_env/lib/python3.6/site-packages/prompt_toolkit/buffer.py", line 1739, in async_completer

document, complete_event


 "/home/wy/.espressif/python_env/idf4.2_py3.6_env/lib/python3.6/site-packages/prompt_toolkit/completion/base.py", line 272, in get_completions_async

document, complete_event


 "/home/wy/.espressif/python_env/idf4.2_py3.6_env/lib/python3.6/site-packages/prompt_toolkit/completion/base.py", line 198, in get_completions_async

for item in self.get_completions(document, complete_event):


 "/home/wy/.espressif/python_env/idf4.2_py3.6_env/lib/python3.6/site-packages/IPython/terminal/ptutils.py", line 116, in get_completions

print_tb(e)


 "/usr/lib/python3.6/traceback.py", line 53, in print_tb

print_list(extract_tb(tb, limit=limit), file=file)


 "/usr/lib/python3.6/traceback.py", line 72, in extract_tb

return StackSummary.extract(walk_tb(tb), limit=limit)


 "/usr/lib/python3.6/traceback.py", line 345, in extract

for f, lineno in frame_gen:


 "/usr/lib/python3.6/traceback.py", line 310, in walk_tb

yield tb.tb_frame, tb.tb_lineno
AttributeError: 'TypeError' object has no attribute 'tb_frame'

Traceback (most recent call last):


 "/usr/local/lib/python3.9/site-packages/pip/_internal/cli/base_command.py", line 210, in _main

status = self.run(options, args)


 "/usr/local/lib/python3.9/site-packages/pip/_internal/cli/req_command.py", line 180, in wrapper

return func(self, options, args)


 "/usr/local/lib/python3.9/site-packages/pip/_internal/commands/install.py", line 318, in run

requirement_set = resolver.resolve(


 "/usr/local/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 121, in resolve

self._result = resolver.resolve(


 "/usr/local/lib/python3.9/site-packages/pip/_vendor/resolvelib/resolvers.py", line 445, in resolve

state = resolution.resolve(requirements, max_rounds=max_rounds)


 "/usr/local/lib/python3.9/site-packages/pip/_vendor/resolvelib/resolvers.py", line 344, in resolve

success = self._backtrack()


 "/usr/local/lib/python3.9/site-packages/pip/_vendor/resolvelib/resolvers.py", line 287, in _backtrack

criterion = self.state.criteria[name].excluded_of([candidate])
AttributeError: 'NoneType' object has no attribute 'excluded_of'
