Open End-Poem opened 1 year ago
From what I see the issue is related to one of the libraries used by manim and not in manim itself. Try reporting this to IPython.
I had the same issue. There is no problem with your manim version and your python version. The problem is with the IPython version. You need to install this version of IPython:
pip install IPython==8.0.1
same issue. maybe there's some changes in the latest version of ipython leading to this problem. Manimgl should be adapted to the new version or add "ipython == 8.0.1" in the requirements.txt.
Describe the error
Run manimgl in cmd.exe, and run any python code in it, it had wrong.
Code and Error
Code:
Error:
Unhandled exception in event loop: File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\prompt_toolkit\input\win32.py"y callback() File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\prompt_toolkit\application\appt context.copy().run(read_from_input) File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\prompt_toolkit\application\appt self.key_processor.process_keys() File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\prompt_toolkit\key_binding\keys self._process_coroutine.send(key_press) File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\prompt_toolkit\key_binding\keys self._call_handler(matches[-1], key_sequence=buffer[:]) File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\prompt_toolkit\key_binding\keyr handler.call(event) File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\prompt_toolkit\key_binding\keyl result = self.handler(event) ^^^^^^^^^^^^^^^^^^^ File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\IPython\terminal\shortcuts__ie return newline_or_execute_outer(shell)(event) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\IPython\terminal\shortcuts__ie status, indent = shell.check_complete(check_text) ^^^^^^^^^^^^^^^^^^^^
Exception 'NoneType' object has no attribute 'check_complete' Press ENTER to continue...
Environment
OS System: Windows 10 x64 manim version: master python version:3.11.4