【问题标题】:How do I resolve error installing manim using poetry?如何解决使用诗歌安装 manim 的错误?
【发布时间】:2020-10-28 12:08:50
【问题描述】:

我想使用诗歌设置 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\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.

【问题讨论】:

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


    【解决方案1】:

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

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

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

    【讨论】:

    • 这完全正确。我没有正确设置pango。谢谢你的回答。
    猜你喜欢
    • 1970-01-01
    • 2020-07-08
    • 2021-05-20
    • 1970-01-01
    • 2020-02-05
    • 2021-02-27
    • 2019-05-29
    • 1970-01-01
    • 2020-05-05
    相关资源
    最近更新 更多