AlJohri / docx2pdf

MIT License
528 stars 97 forks source link

Does this library still work? Tried with pip and brew... #99

Open coryl opened 9 months ago

coryl commented 9 months ago

I ran brew install aljohri/-/docx2pdf then docx2pdf mysource.docx destination.pdf. It spits out this progress log (?) but fails to do anything: 0%| | 0/1 [00:00<?, ?it/s]

I also tried with pip install in venv, and same thing.

Running Python 3.11. Does this lib still work? Thanks

gboyals commented 6 months ago

This answer is a bit late but yes, it still works. I had the same problem until I fully read the README. It states that Microsoft Word must be installed.

Installation of Microsoft Word solved the issue for me, and the PDF is generated.

Python version: 3.9.6 OS: macOS Sonoma 14.3

sunapi386 commented 3 months ago

I had the same issue, but reading the comments here I renamed Microsoft Word 12.22.18.app to Microsoft Word.app and it worked. Mac Finder asked me some permissions to grant, and then I saw Word UI launch and automate stuff.

Cmiiii commented 2 months ago

I had the same issue, but reading the comments here I renamed Microsoft Word 12.22.18.app to Microsoft Word.app and it worked. Mac Finder asked me some permissions to grant, and then I saw Word UI launch and automate stuff.

How to set Microsoft Word to have permissions by default?