You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've installed Blabel both with pip and by unzipping the source files but I still get an error in python when I try to do a test run. I don't know whats going on. Attached are the errors.
Traceback (most recent call last):
File "C:\Users\DPetit\PycharmProjects\snakeLabels\main.py", line 5, in
from blabel import LabelWriter
File "C:\Users\DPetit\PycharmProjects\AntScan\venv\lib\site-packages\blabel_init_.py", line 5, in
from .blabel import LabelWriter
File "C:\Users\DPetit\PycharmProjects\AntScan\venv\lib\site-packages\blabel\blabel.py", line 6, in
from weasyprint import HTML
File "C:\Users\DPetit\PycharmProjects\AntScan\venv\lib\site-packages\weasyprint_init_.py", line 322, in
from .css import preprocess_stylesheet # noqa isort:skip
File "C:\Users\DPetit\PycharmProjects\AntScan\venv\lib\site-packages\weasyprint\css_init_.py", line 27, in
from . import computed_values, counters, media_queries
File "C:\Users\DPetit\PycharmProjects\AntScan\venv\lib\site-packages\weasyprint\css\computed_values.py", line 16, in
from ..text.ffi import ffi, pango, units_to_double
File "C:\Users\DPetit\PycharmProjects\AntScan\venv\lib\site-packages\weasyprint\text\ffi.py", line 380, in
gobject = _dlopen(
File "C:\Users\DPetit\PycharmProjects\AntScan\venv\lib\site-packages\weasyprint\text\ffi.py", line 377, in _dlopen
return ffi.dlopen(names[0]) # pragma: no cover
File "C:\Users\DPetit\PycharmProjects\AntScan\venv\lib\site-packages\cffi\api.py", line 150, in dlopen
lib, function_cache = _make_ffi_library(self, name, flags)
File "C:\Users\DPetit\PycharmProjects\AntScan\venv\lib\site-packages\cffi\api.py", line 832, in _make_ffi_library
backendlib = _load_backend_lib(backend, libname, flags)
File "C:\Users\DPetit\PycharmProjects\AntScan\venv\lib\site-packages\cffi\api.py", line 827, in _load_backend_lib
raise OSError(msg)
OSError: cannot load library 'gobject-2.0-0': error 0x7e. Additionally, ctypes.util.find_library() did not manage to locate a library called 'gobject-2.0-0'
Process finished with exit code 1
The text was updated successfully, but these errors were encountered:
Sorry to hear that. It looks like the failure happens during Weasyprint import. You should visit their Github, you may find a solution there (please report back if you do! looks like a Windows/Weasyprint issue).
I've installed Blabel both with pip and by unzipping the source files but I still get an error in python when I try to do a test run. I don't know whats going on. Attached are the errors.
Traceback (most recent call last):
File "C:\Users\DPetit\PycharmProjects\snakeLabels\main.py", line 5, in
from blabel import LabelWriter
File "C:\Users\DPetit\PycharmProjects\AntScan\venv\lib\site-packages\blabel_init_.py", line 5, in
from .blabel import LabelWriter
File "C:\Users\DPetit\PycharmProjects\AntScan\venv\lib\site-packages\blabel\blabel.py", line 6, in
from weasyprint import HTML
File "C:\Users\DPetit\PycharmProjects\AntScan\venv\lib\site-packages\weasyprint_init_.py", line 322, in
from .css import preprocess_stylesheet # noqa isort:skip
File "C:\Users\DPetit\PycharmProjects\AntScan\venv\lib\site-packages\weasyprint\css_init_.py", line 27, in
from . import computed_values, counters, media_queries
File "C:\Users\DPetit\PycharmProjects\AntScan\venv\lib\site-packages\weasyprint\css\computed_values.py", line 16, in
from ..text.ffi import ffi, pango, units_to_double
File "C:\Users\DPetit\PycharmProjects\AntScan\venv\lib\site-packages\weasyprint\text\ffi.py", line 380, in
gobject = _dlopen(
File "C:\Users\DPetit\PycharmProjects\AntScan\venv\lib\site-packages\weasyprint\text\ffi.py", line 377, in _dlopen
return ffi.dlopen(names[0]) # pragma: no cover
File "C:\Users\DPetit\PycharmProjects\AntScan\venv\lib\site-packages\cffi\api.py", line 150, in dlopen
lib, function_cache = _make_ffi_library(self, name, flags)
File "C:\Users\DPetit\PycharmProjects\AntScan\venv\lib\site-packages\cffi\api.py", line 832, in _make_ffi_library
backendlib = _load_backend_lib(backend, libname, flags)
File "C:\Users\DPetit\PycharmProjects\AntScan\venv\lib\site-packages\cffi\api.py", line 827, in _load_backend_lib
raise OSError(msg)
OSError: cannot load library 'gobject-2.0-0': error 0x7e. Additionally, ctypes.util.find_library() did not manage to locate a library called 'gobject-2.0-0'
Process finished with exit code 1
The text was updated successfully, but these errors were encountered: