简体   繁体   English

安装lxml包Python

[英]installation lxml package Python

I cant install lxml package for python scraping.我无法为 python 抓取安装 lxml 包。 I installed required lbraries C http://users.skynet.be/sbi/libxml-python/ .我安装了所需的 lbraries C http://users.skynet.be/sbi/libxml-python/ Tryed it with python 2.7 2.7 3.4 .用 python 2.7 2.7 3.4 试了一下。 dowsnt work still cant install my lxml package . dowsnt 工作仍然无法安装我的 lxml 包。

Use the required .whl file from any source Example and use pip.使用任何源示例中所需的 .whl 文件并使用 pip。

pip install "location where .whl is saved"

Pip can be found in PYTHONHOME/Scripts .可以在PYTHONHOME/Scripts找到 Pip。 pip is available by default from 2.7.10 pip 从 2.7.10 开始默认可用

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM