如何解决使用诗歌安装 manim 时出现的错误?

How do I resolve error installing manim using poetry?

我想使用诗歌设置 manim 社区回购。我 运行 命令“诗歌安装”。我收到以下错误。 Python 3.8.5,点 20.2.4

  EnvCommandError

  Command D:\manim\venv\Scripts\pip.exe install --no-deps file:///C:/Users/abc/AppData/Local/pypoetry/Cache/artifacts/03/ee/1a/ee5da5d7b449da38c4e593ecc6a57342de04222cd7fbe5b126a4e3f
df0/pangocairocffi-0.3.2.tar.gz errored with the following return code 1, and output:
  Processing c:\users\abc\appdata\local\pypoetry\cache\artifacts\eea\ee5da5d7b449da38c4e593ecc6a57342de04222cd7fbe5b126a4e3fdf0\pangocairocffi-0.3.2.tar.gz
      ERROR: Command errored out with exit status 1:

                         ...
                         ...
                         ...

      OSError: dlopen() failed to load a library: pango / pango-1 / pango-1.0 / pango-1.0-0
      ----------------------------------------
  ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

只有当你想为 Manim Community 本身做贡献时才使用诗歌,否则就不要使用它。

现在让我们来看看错误。什么错误,说的是它找不到一些共享库。根据 docs,它说,你必须安装 Pango 才能工作。

可能您错过了这一步。 https://docs.manim.community/en/latest/installation/win.html#pango-installation