Python-docx==0.8.7 package compatibility with 64-bit windows

296 Views Asked by At

I installed this python package using pip that was compatible with Python 2.7. I tried newer versions of the python-docx but those ones did not download properly. Only version 0.8.7 worked as so I installed it using:

pip install python-docx==0.8.7

But I think it installed a 32 bit version of this package and I am using a 64 bit machine. I know this because while I tried to run my python program using this package I got the error:

    from lxml import etree
ImportError: DLL load failed: %1 is not a valid Win32 application.

This is where the package got downloaded to: C:\Python27\Lib\site-packages\lxml-3.3.5-py2.7-win32.egg

Anyone have the link to the 64 bit version (win_amd64.whl) of this package? I tried searching in this link(https://www.lfd.uci.edu/~gohlke/pythonlibs/) but could not find the package I was looking for.

0

There are 0 best solutions below