Manim-BrokenPipeError:[Errno 32]管道损坏

问题描述

我正在尝试在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和其他所有内容,但仍然收到相同的错误

我应该怎么做才能使它正常工作?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

Selenium Web驱动程序和Java。元素在(x,y)点处不可单击。其...
Python-如何使用点“。” 访问字典成员?
Java 字符串是不可变的。到底是什么意思?
Java中的“ final”关键字如何工作?(我仍然可以修改对象。...
“loop:”在Java代码中。这是什么,为什么要编译?
java.lang.ClassNotFoundException:sun.jdbc.odbc.JdbcOdbc...