我正在尝试在 Linux Mint Xfce 计算机上设置 Manim。每当我尝试执行时:
manim example_scenes.py SquareToCircle -pl
我收到此错误:
Media will be written to ./media/. You can change this behavior with the --media_dir flag.
Unknown input format: 'rawvideo'
Traceback (most recent call last):
File "/home/myzel394/PycharmProjects/manimtest/venv/lib/python3.7/site-packages/manimlib/extract_scene.py", line 155, in main
scene = SceneClass(**scene_kwargs)
File "/home/myzel394/PycharmProjects/manimtest/venv/lib/python3.7/site-packages/manimlib/scene/scene.py", line 75, in __init__
self.construct()
File "example_scenes.py", line 83, in construct
self.play(ShowCreation(square))
File "/home/myzel394/PycharmProjects/manimtest/venv/lib/python3.7/site-packages/manimlib/scene/scene.py", line 848, in wrapper
func(self, *args, **kwargs)
File "/home/myzel394/PycharmProjects/manimtest/venv/lib/python3.7/site-packages/manimlib/scene/scene.py", line 944, in play
self.progress_through_animations(animations)
File "/home/myzel394/PycharmProjects/manimtest/venv/lib/python3.7/site-packages/manimlib/scene/scene.py", line 901, in progress_through_animations
self.add_frames(self.get_frame())
File "/home/myzel394/PycharmProjects/manimtest/venv/lib/python3.7/site-packages/manimlib/scene/scene.py", line 1135, in add_frames
self.file_writer.write_frame(frame)
File "/home/myzel394/PycharmProjects/manimtest/venv/lib/python3.7/site-packages/manimlib/scene/scene_file_writer.py", line 336, in write_frame
self.writing_process.stdin.write(frame.tostring())
BrokenPipeError: [Errno 32] Broken pipe
我尝试关注https://github.com/3b1b/manim/issues/669但没有任何帮助。我升级了 ffmpeg 和我所有其他的东西,但我仍然得到同样的错误。
我应该怎么做才能让它工作?