Comments (3)
The problem is that this package comes bundled with a wkhtmltopdf binary which is compiled for linux. That binary will never work on windows.
However as you can see here you can set an environment variable to use an alternative wkhtmltopdf binary.
I would try setting the environment variable WKHTMLTOPDF_PATH
to C://path/to/wkhtmltopdf-binary
and see if that works.
I'm afraid since I don't Windows at all I can't really help more than that, but if you do get it working I'd be happy to accept a pull request to add docs for Windows.
Alternatively, perhaps you could use the dockerized version since I know there are numerous routes to running docker on windows?
from pydf.
from pydf.
no problem, pleased it worked.
from pydf.
Related Issues (19)
- Heroku-18 stack failure HOT 1
- Unable to write to destination on Linux — tmp dir should be a file HOT 5
- Exception while generating pdf HOT 3
- Image Isn't rendering HOT 3
- Not working with uvloop
- OSError - %1 is not a valid Win32 application HOT 3
- Can't use all command arguments via the API HOT 1
- How to render external files? HOT 1
- Error while loading shared libraries: libjpeg.so.8 HOT 11
- Consider keeping header case as given? HOT 1
- pages HOT 2
- Why it doesn't load images in PDF? HOT 1
- Can pydf generate from URL directly? HOT 4
- Rendering long pages into multiple ones bug HOT 1
- how to build wkhtmltopdf from source HOT 3
- Trouble getting Windows version going.... HOT 8
- OSError: [Errno 8] Exec format error HOT 5
- wkhtmltopdf update HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pydf.