Installation of additional tools for my django applications

In my python django application I’m using weasyprint to convert html to pdf, but it needs GTK3 to be installed in my windows 10 system. It runs perfectly after I installed GTK3. Now I need to deploy on render, I’m having doubts that if it will work. My guess is it won’t. What can I do here to make it work?. Note : GTK3 can only be installed with a setup file (.exe). I was not able to add it to requirements.txt. Is there any way?

You might have luck standing up your application with Docker instead, installing dependencies as needed for a Linux distribution as Render services run on Linux.

You can view the documentation on installing GTK on Linux.

Thanks

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.