-
-
Notifications
You must be signed in to change notification settings - Fork 686
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
ModuleNotFoundError: No module named 'weasyprint.fonts' #1419
Comments
Hello!
Could you please provide the whole backtrace please? |
Had a similar issue. Apparently the import path has changed. This works for me:
|
Oh, of course… The last comment is right. The API change is documented in the changelog. |
still not working. WeasyPrint version: 57.1 |
The problem is not in Weasyprint, it’s in the code using WeasyPrint. WeasyPrint’s API has changed, there’s no |
I could not import weasyprint.fonts after clean pip install. This appears to be a bug with version 53. I rolled back to ver 52.5 and all is well.
The text was updated successfully, but these errors were encountered: