from lxml import etree 报错

python 3.6

通过pip install 方式在线安装lxml

pip install lxml

from lxml import etree 报错

 

1 Traceback (most recent call last):
2   File "D:\python\get.py", line 1, in <module>
3     from film import *
4   File "D:\python\film.py", line 2, in <module>
5     from lxml import etree
6 ImportError: DLL load failed: 找不到指定的程序。

最终解决方法,下载第三方编译的lxml安装后ok

http://www.lfd.uci.edu/~gohlke/pythonlibs/

posted on 2017-06-17 09:05  -voyage-  阅读(1188)  评论(0)    收藏  举报