-
-
Notifications
You must be signed in to change notification settings - Fork 694
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
Weasyprint fails on Windows 7/Python 2.7.x #330
Comments
I did need to add the path to GTK installation before running weasyprint. Have you tried run it like this?
|
I added GTK path and not works - GTK explained in documentation. I can try it with different version of GTK - I am using currently Python 2.7 - maybe I need to use Python 3. It takes some weeks until will be time to do it. |
@jbouclier @ChameleonRed I've written a small list of instructions to make WeasyPrint work on Windows. Could you try it? |
I'm using Python 2.7.11 (64bits) for windows together with GTK2 (64bits) I downloaded from here: https://github.com/tschoonj/GTK-for-Windows-Runtime-Environment-Installer May be there are some other dependencies on native libraries, like the C++ compiler @liZe mentions. Is hard for me to tell. I did the installation in a development machine. I lost track what I installed there and why. |
When trying to install random GTK versions (for example mixing 64 bit Python with 32 bit GTK), I've met this error, but it works with the new instructions. I close the bug for now, @ChameleonRed feel free to re-open it if needed. |
I am also getting same error in my window 8 python 2.7.13. |
@cmaliwal Reinstalling flask_weasyprint is not enough. You can uninstall and reinstall Python and GTK carefully following the steps described in the documentation. |
@ChameleonRed This might help you, sudo apt-get install libcairo2 libpango1.0-0 |
Python 2.7.x
GTK+ Ash (last version)
Why cairo2 not want to load?
The text was updated successfully, but these errors were encountered: