Python安装docx依赖包

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/fenger3790/article/details/52442137

主要问题是docx受lxml的影响,如果lxml的版本不对的话,docx根本装不上,不管你用pip,easy_install或者是用源代码包来装。
要到https://pypi.python.org/simple/lxml/去下载相应的lxml版本,安装之后直接pip install python-docx就可以安装上了!

猜你喜欢

转载自blog.csdn.net/fenger3790/article/details/52442137