【发布时间】:2020-04-16 06:45:17
【问题描述】:
当我运行 Django 服务器时,我看到了这个问题!!
OSError: no library called "cairo" was found
no library called "libcairo-2" was found
cannot load library 'libcairo.so': error 0x7e
cannot load library 'libcairo.2.dylib': error 0x
cannot load library 'libcairo-2.dll': error 0x7e
【问题讨论】:
-
请您提供更多详细信息,例如 Djano 版本、Windows 版本。
-
pip freeze的输出在这里很有用。你是如何运行你的 Django 项目的?使用 manage.py? -
能否获取操作系统及其版本?
-
您在项目中使用 weasyprint 吗?
-
我面临同样的问题,我正在使用 django-weasyprint。
标签: python windows pip cairo pycairo