Hi, I installed weasyprint with
Pango is already installed:
Can anyone help me with this?.
I'm running 12.2-RELEASE-p10 without X11 installed.
pip-3.8 install weasyprint
(also with pkg install weasyprint
), when I try to run it I get:
Code:
Traceback (most recent call last):
File "/usr/local/bin/weasyprint", line 5, in <module>
from weasyprint.__main__ import main
File "/usr/local/lib/python3.8/site-packages/weasyprint/__init__.py", line 322, in <module>
from .css import preprocess_stylesheet # noqa isort:skip
File "/usr/local/lib/python3.8/site-packages/weasyprint/css/__init__.py", line 27, in <module>
from . import computed_values, counters, media_queries
File "/usr/local/lib/python3.8/site-packages/weasyprint/css/computed_values.py", line 16, in <module>
from ..text.ffi import ffi, pango, units_to_double
File "/usr/local/lib/python3.8/site-packages/weasyprint/text/ffi.py", line 383, in <module>
pango = _dlopen(
File "/usr/local/lib/python3.8/site-packages/weasyprint/text/ffi.py", line 377, in _dlopen
return ffi.dlopen(names[0]) # pragma: no cover
File "/usr/local/lib/python3.8/site-packages/cffi/api.py", line 150, in dlopen
lib, function_cache = _make_ffi_library(self, name, flags)
File "/usr/local/lib/python3.8/site-packages/cffi/api.py", line 832, in _make_ffi_library
backendlib = _load_backend_lib(backend, libname, flags)
File "/usr/local/lib/python3.8/site-packages/cffi/api.py", line 827, in _load_backend_lib
raise OSError(msg)
OSError: cannot load library 'pango-1.0-0': Shared object "pango-1.0-0" not found, required by "python3.8". Additionally, ctypes.util.find_library() did not manage to locate a library called 'pango-1.0-0'
Pango is already installed:
Code:
pkg install pango
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Checking integrity... done (0 conflicting)
The most recent versions of packages are already installed
Can anyone help me with this?.
I'm running 12.2-RELEASE-p10 without X11 installed.