圆月山庄资源网 Design By www.vgjia.com
Python pip安装lxml出错的问题解决办法
1. 在使用pip安装lxml过程中出现了一下错误:
> pip install lxml
C:\Users\Chen>pip install lxml Collecting lxml Using cached lxml-3.5.0.tar.gz Installing collected packages: lxml Running setup.py install for lxml ... error Complete output from command "d:\program files\python\python.exe" -u -c "import setuptools, tokenize;__file__='C:\\Users\\CHENJU~1\\AppData\\Local\\Temp\\pip-build-id5180h6\\lxml\\setup.py'; Building lxml version 3.5.0. Building without Cython. ERROR: b"'xslt-config' \xb2\xbb\xca\xc7\xc4\xda\xb2\xbf\xbb\xf2\xcd\xe2\xb2\xbf\xc3\xfc\xc1\xee\xa3\xac\xd2\xb2\xb2\xbb\xca\xc7\xbf\xc9\xd4\xcb\xd0\xd0\xb5\xc4\xb3\xcc\xd0\xf2\r\n\xbb\xf2\xc ** make sure the development packages of libxml2 and libxslt are installed ** Using build configuration of libxslt running install running build running build_py creating build creating build\lib.win32-3.5 creating build\lib.win32-3.5\lxml copying src\lxml\builder.py -> build\lib.win32-3.5\lxml copying src\lxml\cssselect.py -> build\lib.win32-3.5\lxml copying src\lxml\doctestcompare.py -> build\lib.win32-3.5\lxml copying src\lxml\ElementInclude.py -> build\lib.win32-3.5\lxml copying src\lxml\pyclasslookup.py -> build\lib.win32-3.5\lxml copying src\lxml\sax.py -> build\lib.win32-3.5\lxml copying src\lxml\usedoctest.py -> build\lib.win32-3.5\lxml copying src\lxml\_elementpath.py -> build\lib.win32-3.5\lxml copying src\lxml\__init__.py -> build\lib.win32-3.5\lxml creating build\lib.win32-3.5\lxml\includes copying src\lxml\includes\__init__.py -> build\lib.win32-3.5\lxml\includes creating build\lib.win32-3.5\lxml\html copying src\lxml\html\builder.py -> build\lib.win32-3.5\lxml\html copying src\lxml\html\clean.py -> build\lib.win32-3.5\lxml\html copying src\lxml\html\defs.py -> build\lib.win32-3.5\lxml\html copying src\lxml\html\diff.py -> build\lib.win32-3.5\lxml\html copying src\lxml\html\ElementSoup.py -> build\lib.win32-3.5\lxml\html copying src\lxml\html\formfill.py -> build\lib.win32-3.5\lxml\html copying src\lxml\html\html5parser.py -> build\lib.win32-3.5\lxml\html copying src\lxml\html\soupparser.py -> build\lib.win32-3.5\lxml\html copying src\lxml\html\usedoctest.py -> build\lib.win32-3.5\lxml\html copying src\lxml\html\_diffcommand.py -> build\lib.win32-3.5\lxml\html copying src\lxml\html\_html5builder.py -> build\lib.win32-3.5\lxml\html copying src\lxml\html\_setmixin.py -> build\lib.win32-3.5\lxml\html copying src\lxml\html\__init__.py -> build\lib.win32-3.5\lxml\html creating build\lib.win32-3.5\lxml\isoschematron copying src\lxml\isoschematron\__init__.py -> build\lib.win32-3.5\lxml\isoschematron copying src\lxml\lxml.etree.h -> build\lib.win32-3.5\lxml copying src\lxml\lxml.etree_api.h -> build\lib.win32-3.5\lxml copying src\lxml\includes\c14n.pxd -> build\lib.win32-3.5\lxml\includes copying src\lxml\includes\config.pxd -> build\lib.win32-3.5\lxml\includes copying src\lxml\includes\dtdvalid.pxd -> build\lib.win32-3.5\lxml\includes copying src\lxml\includes\etreepublic.pxd -> build\lib.win32-3.5\lxml\includes copying src\lxml\includes\htmlparser.pxd -> build\lib.win32-3.5\lxml\includes copying src\lxml\includes\relaxng.pxd -> build\lib.win32-3.5\lxml\includes copying src\lxml\includes\schematron.pxd -> build\lib.win32-3.5\lxml\includes copying src\lxml\includes\tree.pxd -> build\lib.win32-3.5\lxml\includes copying src\lxml\includes\uri.pxd -> build\lib.win32-3.5\lxml\includes copying src\lxml\includes\xinclude.pxd -> build\lib.win32-3.5\lxml\includes copying src\lxml\includes\xmlerror.pxd -> build\lib.win32-3.5\lxml\includes copying src\lxml\includes\xmlparser.pxd -> build\lib.win32-3.5\lxml\includes copying src\lxml\includes\xmlschema.pxd -> build\lib.win32-3.5\lxml\includes copying src\lxml\includes\xpath.pxd -> build\lib.win32-3.5\lxml\includes copying src\lxml\includes\xslt.pxd -> build\lib.win32-3.5\lxml\includes copying src\lxml\includes\etree_defs.h -> build\lib.win32-3.5\lxml\includes copying src\lxml\includes\lxml-version.h -> build\lib.win32-3.5\lxml\includes creating build\lib.win32-3.5\lxml\isoschematron\resources creating build\lib.win32-3.5\lxml\isoschematron\resources\rng copying src\lxml\isoschematron\resources\rng\iso-schematron.rng -> build\lib.win32-3.5\lxml\isoschematron\resources\rng creating build\lib.win32-3.5\lxml\isoschematron\resources\xsl copying src\lxml\isoschematron\resources\xsl\RNG2Schtrn.xsl -> build\lib.win32-3.5\lxml\isoschematron\resources\xsl copying src\lxml\isoschematron\resources\xsl\XSD2Schtrn.xsl -> build\lib.win32-3.5\lxml\isoschematron\resources\xsl creating build\lib.win32-3.5\lxml\isoschematron\resources\xsl\iso-schematron-xslt1 copying src\lxml\isoschematron\resources\xsl\iso-schematron-xslt1\iso_abstract_expand.xsl -> build\lib.win32-3.5\lxml\isoschematron\resources\xsl\iso-schematron-xslt1 copying src\lxml\isoschematron\resources\xsl\iso-schematron-xslt1\iso_dsdl_include.xsl -> build\lib.win32-3.5\lxml\isoschematron\resources\xsl\iso-schematron-xslt1 copying src\lxml\isoschematron\resources\xsl\iso-schematron-xslt1\iso_schematron_message.xsl -> build\lib.win32-3.5\lxml\isoschematron\resources\xsl\iso-schematron-xslt1 copying src\lxml\isoschematron\resources\xsl\iso-schematron-xslt1\iso_schematron_skeleton_for_xslt1.xsl -> build\lib.win32-3.5\lxml\isoschematron\resources\xsl\iso-schematron-xslt1 copying src\lxml\isoschematron\resources\xsl\iso-schematron-xslt1\iso_svrl_for_xslt1.xsl -> build\lib.win32-3.5\lxml\isoschematron\resources\xsl\iso-schematron-xslt1 copying src\lxml\isoschematron\resources\xsl\iso-schematron-xslt1\readme.txt -> build\lib.win32-3.5\lxml\isoschematron\resources\xsl\iso-schematron-xslt1 running build_ext building 'lxml.etree' extension error: Unable to find vcvarsall.bat ----------------------------------------
2. Baidu一下看看问题如何解决:
原来这个问题,还是需要区分操作系统来分别处理的。window下暂无涉及。
3. Linux系统的处理方式:
sudo apt-get install python-dev libxml2-dev libxslt1-dev zlib1g-dev
or yum install .....
然后继续使用 pip install lxml
感谢阅读,希望能帮助到大家,谢谢大家对本站的支持!
圆月山庄资源网 Design By www.vgjia.com
广告合作:本站广告合作请联系QQ:858582 申请时备注:广告合作(否则不回)
免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件! 如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com
免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件! 如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com
圆月山庄资源网 Design By www.vgjia.com
暂无评论...
P70系列延期,华为新旗舰将在下月发布
3月20日消息,近期博主@数码闲聊站 透露,原定三月份发布的华为新旗舰P70系列延期发布,预计4月份上市。
而博主@定焦数码 爆料,华为的P70系列在定位上已经超过了Mate60,成为了重要的旗舰系列之一。它肩负着重返影像领域顶尖的使命。那么这次P70会带来哪些令人惊艳的创新呢?
根据目前爆料的消息来看,华为P70系列将推出三个版本,其中P70和P70 Pro采用了三角形的摄像头模组设计,而P70 Art则采用了与上一代P60 Art相似的不规则形状设计。这样的外观是否好看见仁见智,但辨识度绝对拉满。
更新日志
2024年11月07日
2024年11月07日
- 雨林唱片《赏》新曲+精选集SACD版[ISO][2.3G]
- 罗大佑与OK男女合唱团.1995-再会吧!素兰【音乐工厂】【WAV+CUE】
- 草蜢.1993-宝贝对不起(国)【宝丽金】【WAV+CUE】
- 杨培安.2009-抒·情(EP)【擎天娱乐】【WAV+CUE】
- 周慧敏《EndlessDream》[WAV+CUE]
- 彭芳《纯色角3》2007[WAV+CUE]
- 江志丰2008-今生为你[豪记][WAV+CUE]
- 罗大佑1994《恋曲2000》音乐工厂[WAV+CUE][1G]
- 群星《一首歌一个故事》赵英俊某些作品重唱企划[FLAC分轨][1G]
- 群星《网易云英文歌曲播放量TOP100》[MP3][1G]
- 方大同.2024-梦想家TheDreamer【赋音乐】【FLAC分轨】
- 李慧珍.2007-爱死了【华谊兄弟】【WAV+CUE】
- 王大文.2019-国际太空站【环球】【FLAC分轨】
- 群星《2022超好听的十倍音质网络歌曲(163)》U盘音乐[WAV分轨][1.1G]
- 童丽《啼笑姻缘》头版限量编号24K金碟[低速原抓WAV+CUE][1.1G]