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

问题描述

我想使用诗歌来建立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.

解决方法

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

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

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

相关问答

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