AlJohri / docx2pdf

MIT License
506 stars 96 forks source link

Issues with running on 64 bit machine? #39

Closed Juliette1110 closed 3 years ago

Juliette1110 commented 3 years ago

I'm trying to batch convert some .docx files and am running the program on Jupyter notebook (5.7.4) I do have a 64-bit laptop and the errors reference 32 bit so I'm afraid this program might not work on it. Has anyone on a 64-bit machine had luck running it? Code:

!pip install ipywidgets !pip install docx2pdf from docx2pdf import convert convert(r"C:\Users\Juliette\Documents\Other\Other")

Which returns the following error: image

AlJohri commented 3 years ago

hi @Juliette1110, the reference to win32api does not relate to 32-bit vs 64-bit. I believe you are running into this anaconda specific issue: https://stackoverflow.com/questions/58612306/how-to-fix-importerror-dll-load-failed-while-importing-win32api

hope that points you in the right direction

Juliette1110 commented 3 years ago

Yep, that helped! There were a few other issues on my end but now it works great--thanks for publishing this awesome program!!