python2.7.x使用pip安装第三方库lxml

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

访问我的个人博客 秋码个人博客
首先先从官网下载对应的lxml。http://www.lfd.uci.edu/~gohlke/pythonlibs/#lxml
这里写图片描述
我下载的是lxml‑3.8.0‑cp27‑cp27m‑win_amd64.whl,cp27表示Python2.7版本。
因为这是wheel文件,所以需要安装wheel。执行命令:

pip install wheel

这里写图片描述

然后这样就可以安装lxml了。执行命令:

pip install E:\lxml‑3.8.0‑cp27‑cp27m‑win_amd64.whl

这里写图片描述
这里写图片描述

猜你喜欢

转载自blog.csdn.net/coco2d_x2014/article/details/76736390