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

时间:2020-10-28 12:08:50

标签: python python-3.x python-poetry manim pangocairo

我想使用诗歌来建立manim社区回购。我运行了“诗歌安装”命令。我收到以下错误。 Python 3.8.5,Pip 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\03\ee\1a\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.

1 个答案:

答案 0 :(得分:1)

仅当您想为Manim Community做贡献时才使用诗歌,否则就不要使用它。

现在,让我们开始错误。发生错误的原因是找不到共享库。根据{{​​3}}的说法,您必须安装Pango才能使其正常工作。

可能您可能错过了此步骤。 docs