您的位置:首页 > 编程语言 > Python开发

python 3.5以上安装 lxml 折腾一个下午 - -

2016-05-23 00:00 686 查看
摘要: failed building wheel for lxml

关键词

make sure the development packages of libxml2 and libxslt are installed

failed building wheel for lxml

python lxml.etree extension unable to find vcvarsall.bat

'xslt-config' \xb2\xbb\xca\xc7\xc4\xda\xb2\xbf\xbb\xf2\xcd\xe2\xb2\xbf\xc3\x

--------------------------- 解决办法
http://www.lfd.uci.edu/~gohlke/pythonlibs/#lxml http://jingyan.baidu.com/article/cbcede07177b8702f40b4df9.html
在python的目录下的Scripts

pip install C:\Python34\lxml-3.4.4-cp34-none-win32.whl

---------------------------

因为lxml有点病,在window里需要特殊的安装,记得好像是编译不同的库,

为了安装pyquery

------------------------------------------------------------------------------------

遇到这 importerror cannot import name _win32stdio 个问题

解决方法
http://stackoverflow.com/questions/37342603/importerror-cannot-import-name-win32stdio
回答的第二条,把两个文件复制到指定路径即可
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: