Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
520 views
in Technique[技术] by (71.8m points)

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

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

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...