How could i solve this problem Unhandled exception in event loop:?

Drive control utility v0.5.1.post0
Website: https://odriverobotics.com/
Docs: https://docs.odriverobotics.com/
Forums: https://discourse.odriverobotics.com/
Discord: ODrive
Github: GitHub - odriverobotics/ODrive: High performance motor control

Please connect your ODrive.
You can also type help() or quit().

Downloading json data from ODrive… (this might take a while)
Connected to ODrive 207E32A44D4B as odrv0

Unhandled exception in event loop:
File “/usr/lib/python3.8/asyncio/events.py”, line 81, in _run
self._context.run(self._callback, *self._args)
File “/usr/local/lib/python3.8/dist-packages/prompt_toolkit/application/application.py”, line 698, in read_from_input
self.key_processor.process_keys()
File “/usr/local/lib/python3.8/dist-packages/prompt_toolkit/key_binding/key_processor.py”, line 272, in process_keys
self._process_coroutine.send(key_press)
File “/usr/local/lib/python3.8/dist-packages/prompt_toolkit/key_binding/key_processor.py”, line 170, in _process
matches = self._get_matches(buffer)
File “/usr/local/lib/python3.8/dist-packages/prompt_toolkit/key_binding/key_processor.py”, line 128, in _get_matches
return [b for b in self._bindings.get_bindings_for_keys(keys) if b.filter()]
File “/usr/local/lib/python3.8/dist-packages/prompt_toolkit/key_binding/key_processor.py”, line 128, in
return [b for b in self._bindings.get_bindings_for_keys(keys) if b.filter()]
File “/usr/local/lib/python3.8/dist-packages/prompt_toolkit/filters/base.py”, line 134, in call
return all(f() for f in self.filters)
File “/usr/local/lib/python3.8/dist-packages/prompt_toolkit/filters/base.py”, line 134, in
return all(f() for f in self.filters)
File “/usr/local/lib/python3.8/dist-packages/prompt_toolkit/filters/base.py”, line 248, in call
return self.func()
File “/usr/local/lib/python3.8/dist-packages/IPython/terminal/shortcuts/filters.py”, line 170, in readline_like_completions
return shell.display_completions == “readlinelike”

Exception ‘NoneType’ object has no attribute ‘display_completions’
Press ENTER to continue…

That’s a very old version of odrivetool, try updating?

Ive got the same problem.
Did you find a solution?
I need to stick with odrivetool 0.5.4

Steps that got it working for me was
from a fresh install 64 bit Pi OS
mkdir project
cd project
python3 -m venv env
source env/bin/activate
pip install odrivetool==0.5.4
pip uninstall ipython
pip install ipython==8.0.1
sudo ./env/bin/odrivetool

deactivate (to exit the venv enviroment)