-
-
Notifications
You must be signed in to change notification settings - Fork 704
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
Add and update installation dependencies in documentation #1391
Comments
Bumped into this as well, for the latest beta. On a similar note, it seems that harfbuzz and zopfli are required, the latter seemingly is specific to Alpine (?). After fixing (using I have the following to setup dependencies:
Is this correct? I'm thinking something is missing, but not sure what it is as WeasyPrint gets installed correctly, using Then, output of
But, back to the issue opened here, I think that the docs really need to be updated to include instructions for installing globally on various Linux distros, just like the old docs did. Most people will install from source, as OS package managers are generally behind a version or two (see #1384 for a related issue, found with pango). v53 will not land in major OS distros any time soon (a lot of them are still using v51), and finding repos for these things isn't always easy (for the average user, anyway) or convenient. |
We’ll check this. We shouldn’t have to rely on gcc and all the
That’s probably because of the warning you get with
You’re right. |
I was listening to a Talk Python to Me episode the other day on running docker in production and they were talking about how Alpine linux uses a different C library that isn't the same as how binary wheels are build currently. So this additional requirement may all stem from an inability to use the binary wheels when working with Alpine. I don't work using Alpine linux nor do I deploy on docker. So I can't talk with much authority however if others are in the same boat this may help guide understanding for documenting this. |
Thanks @liZe – I'll try installing a font to see if it makes a difference. |
(We should take care of the latest comment of #1384 too.) |
On this page: .../v52.5/docs/install.rst
The installation instructions for Alpine do not mention the package
python3-dev
. This package is needed forCFFI
, since this is built from source when you install it viapip
.Hope this helps.
The text was updated successfully, but these errors were encountered: