Hello. I'm trying to learn python with Minecraft using MCIWB.
For context, I'm using Docker, VSCode, Python 3.10.6, and iPython 8.11.0
When I typed in world.player.pos, I get the following error:
Unhandled exception in event loop:
File "/usr/lib/python3.10/asyncio/events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "/home/useradd/my_world/.venv/lib/python3.10/site-packages/prompt_toolkit/input/vt100.py", line 173, in callback_wrapper
callback()
File "/home/useradd/my_world/.venv/lib/python3.10/site-packages/prompt_toolkit/application/application.py", line 698, in read_from_input
self.key_processor.process_keys()
File "/home/useradd/my_world/.venv/lib/python3.10/site-packages/prompt_toolkit/key_binding/key_processor.py", line 272, in process_keys
self._process_coroutine.send(key_press)
File "/home/useradd/my_world/.venv/lib/python3.10/site-packages/prompt_toolkit/key_binding/key_processor.py", line 187, in _process
self._call_handler(matches[-1], key_sequence=buffer[:])
File "/home/useradd/my_world/.venv/lib/python3.10/site-packages/prompt_toolkit/key_binding/key_processor.py", line 322, in _call_handler
handler.call(event)
File "/home/useradd/my_world/.venv/lib/python3.10/site-packages/prompt_toolkit/key_binding/key_bindings.py", line 126, in call
result = self.handler(event)
File "/home/useradd/my_world/.venv/lib/python3.10/site-packages/IPython/terminal/shortcuts/init.py", line 374, in handle_return_or_newline_or_execute
return newline_or_execute_outer(shell)(event)
File "/home/useradd/my_world/.venv/lib/python3.10/site-packages/IPython/terminal/shortcuts/init.py", line 397, in newline_or_execute
status, indent = shell.check_complete(check_text)
Exception 'NoneType' object has no attribute 'check_complete'
Press ENTER to continue...
Unhandled exception in event loop:
File "/usr/lib/python3.10/asyncio/events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "/home/useradd/my_world/.venv/lib/python3.10/site-packages/prompt_toolkit/application/application.py", line 698, in read_from_input
self.key_processor.process_keys()
File "/home/useradd/my_world/.venv/lib/python3.10/site-packages/prompt_toolkit/key_binding/key_processor.py", line 272, in process_keys
self._process_coroutine.send(key_press)
File "/home/useradd/my_world/.venv/lib/python3.10/site-packages/prompt_toolkit/key_binding/key_processor.py", line 187, in _process
self._call_handler(matches[-1], key_sequence=buffer[:])
File "/home/useradd/my_world/.venv/lib/python3.10/site-packages/prompt_toolkit/key_binding/key_processor.py", line 322, in _call_handler
handler.call(event)
File "/home/useradd/my_world/.venv/lib/python3.10/site-packages/prompt_toolkit/key_binding/key_bindings.py", line 126, in call
result = self.handler(event)
File "/home/useradd/my_world/.venv/lib/python3.10/site-packages/IPython/terminal/shortcuts/init.py", line 374, in handle_return_or_newline_or_execute
return newline_or_execute_outer(shell)(event)
File "/home/useradd/my_world/.venv/lib/python3.10/site-packages/IPython/terminal/shortcuts/init.py", line 397, in newline_or_execute
status, indent = shell.check_complete(check_text)
Exception 'NoneType' object has no attribute 'check_complete'
Press ENTER to continue...
I've tried researching the problem, but have had no luck in terms of finding a solution. Is there a way to resolve this?