I use python to write code to convert docx to pdf, but I get this error: On Windows: pywintypes.com_error: (-2147352567, 'Exception occurred.', (0, 'Microsoft Word', 'Command failed', 'C:\Program Files (x86)\Microsoft Office\Office12\ 1033\WDMAIN11.CHM', 36966, -2146824090), None) On MAC: The program automatically opens that docx file and cannot convert it. I need your help!
i use python 3.12 and pycharm ide, installed docx2pdf
updated: I'm dowload plugin from microsoft: SaveAsPDFandXPS and install, because MS Office need this pugin to convert, that all, thankyou