Docx to PDF

Hi,
I would like to process docx documents to pdf. Locally I have been using the library docx2pdf · PyPI. Unfortunately he requires Word installed.

So in the cloud I wanted to use that command:

cmd = 'doc2pdf file.docx'
os.system(cmd)

My packages.txt:

unoconv
libreoffice

Log:

unoconv: Cannot find a suitable pyuno library and python binary combination in /usr/lib/libreoffice
ERROR: No module named 'uno'
unoconv: Cannot find a suitable office installation on your system.

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