Open augustus-thomas opened 6 months ago
Hi @augustus-thomas!
This issue is related to WeasyPrint! Did you follow the installation instructions from the documentation? Pay attention to the GTK3 requirement.
Thank you - but WeasyPrint in turn depends on pango, and it is not obvious how to install that. For Ubuntu 20.04 and 22.04 I found this article. In short, for 22.04:
sudo apt-get -y install libcogl-pango-dev
worked for me. Not perfect, as it is outside of the virtual environment. But now md2pdf
works!
Usage
I am using this repository as a package after installing with
pip3 install md2pdf
I am importing the package as suggested in the Readme withfrom md2pdf.core import md2pdf
OS
I am running Windows Subsystem for Linux
Traceback