docx2pdf icon indicating copy to clipboard operation
docx2pdf copied to clipboard

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

Open coryl opened this issue 1 year ago • 3 comments

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

coryl avatar Feb 07 '24 16:02 coryl

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

gboyals avatar Apr 25 '24 09:04 gboyals

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.

sunapi386 avatar Aug 08 '24 16:08 sunapi386

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?

Cmiiii avatar Aug 23 '24 07:08 Cmiiii