Getting “OSError: dlopen() failed to load a library: cairo / cairo-2” on Windows

后端 未结 3 1954
长情又很酷
长情又很酷 2021-01-12 05:45

I\'m getting OSError: dlopen() failed to load a library: cairo / cairo-2 when trying to execute Django after a new install. Using Windows.

I\'m using We

3条回答
  •  清歌不尽
    2021-01-12 06:01

    I got following error message: OSError: dlopen() failed to load a library: cairo / cairo-2 / cairo-gobject-2, on Windows 10.

    The GTK+ libraries which contain the libraries above can be obtained and installed from https://github.com/tschoonj/GTK-for-Windows-Runtime-Environment-Installer, as documented on https://weasyprint.readthedocs.io/en/latest/install.html#gtk64installer.

    Note that your development environment will need to be restarted to read PATH.

提交回复
热议问题