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:Python27Libsite-packageslxml-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.
question from:
https://stackoverflow.com/questions/65650894/python-docx-0-8-7-package-compatibility-with-64-bit-windows 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…