0

I am getting following error when I tried to convert docx to PDF using docx2pdf imported from docx

Google colab code:

!pip install docx2pdf
from docx2pdf import convert as doc2pdf
doc2pdf('My_document.docx')

Present output:

docx2pdf is not implemented for linux as it requires Microsoft Word to be installed

If it cannot work, can you suggest another package that I can use to convert the docx to PDF on the Google colab automatically?

Mainland
  • 4,110
  • 3
  • 25
  • 56

0 Answers0