from docx2pdf import convert convert("document.docx", "output.pdf") When executing this code, an error occurs. I don't know how to solve the problem. 0%| | 0/1 [00:00<?, ?it/s]Traceback (most recent call last): File "C:\Users\roman\PycharmProjects\text_format\main.py", line 3, in convert("document.docx", "output.pdf") File "C:\Users\roman\anaconda3\envs\pythonProject238\Lib\site-packages\docx2pdf_init_.py", line 106, in convert return windows(paths, keep_active) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\roman\anaconda3\envs\pythonProject238\Lib\site-packages\docx2pdf_init_.py", line 32, in windows doc = word.Documents.Open(str(docx_filepath)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<COMObject >", line 5, in Open pywintypes.com_error: (-2147352567, 'Ошибка.', (0, 'Microsoft Word', 'Файл поврежден.', 'wdmain11.chm', 25272, -2146822496), None) 0%| | 0/1 [00:00<?, ?it/s] I tried using other libraries but they are all paid Continue reading...