Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSError: cannot load library Help #1442

Closed
coolyear123 opened this issue Sep 8, 2021 · 5 comments
Closed

OSError: cannot load library Help #1442

coolyear123 opened this issue Sep 8, 2021 · 5 comments

Comments

@coolyear123
Copy link

I've tried everything to install weasyprint on Windows and I'm trying to use it with Blabel but every time I run my code I get the error. I don't know how to fix this.

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'

@liZe
Copy link
Member

liZe commented Sep 8, 2021

Hello!

If you’re using Python 3.8 or newer, it’s for sure a duplicate of #1435. Is that the case for you?

@coolyear123
Copy link
Author

I was using Python 3.9 but then I tried using 3.7 and I still get the same error.

@grewn0uille
Copy link
Member

Hello!
This kind of issues on Windows is often caused by unreachable libraries. This part of the documentation may help you.

@liZe
Copy link
Member

liZe commented Sep 13, 2021

@coolyear123 Did you solve your problem using the solutions listed in the documentation?

@liZe
Copy link
Member

liZe commented Sep 16, 2021

Feel free to reopen if needed. We’ll improve the situation in #1435 though.

@liZe liZe closed this as completed Sep 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants