qpython3安装lxml_centos python 安装lxml 报错 阿里云ECS

阿里云主机,原本centos内置python 2.7 ,安装了python 3.6

然后因为要使用lxml 解析文档,结果使用

pip3 install lxml

Collecting lxml

HTTP error 404 while getting http://mirrors.aliyun.com/pypi/packages/0a/75/d54af657adc8625aa950

ae7be4e4f33ef2b5014380556790fc6c7b7d095d/lxml-3.8.0-cp36-cp36m-manylinux1_x86_64.whl#md5=0cf2148f

f4e6e65bf9f0bb0c97733f2f (from http://mirrors.aliyun.com/pypi/simple/lxml/)

Could not install requirement lxml from http://mirrors.aliyun.com/pypi/packages/0a/75/d54af657a

dc8625aa950ae7be4e4f33ef2b5014380556790fc6c7b7d095d/lxml-3.8.0-cp36-cp36m-manylinux1_x86_64.whl#m

d5=0cf2148ff4e6e65bf9f0bb0c97733f2f because of error 404 Client Error: Not Found for url: http://

mirrors.aliyun.com/pypi/packages/0a/75/d54af657adc8625aa950ae7be4e4f33ef2b5014380556790fc6c7b7d09

5d/lxml-3.8.0-cp36-cp36m-manylinux1_x86_64.whl

Could not install requirement lxml from http://mirrors.aliyun.com/pypi/packages/0a/75/d54af657adc

8625aa950ae7be4e4f33ef2b5014380556790fc6c7b7d095d/lxml-3.8.0-cp36-cp36m-manylinux1_x86_64.whl#md5

=0cf2148ff4e6e65bf9f0bb0c97733f2f because of HTTP error 404 Client Error: Not Found for url: http

://mirrors.aliyun.com/pypi/packages/0a/75/d54af657adc8625aa950ae7be4e4f33ef2b5014380556790fc6c7b7

d095d/lxml-3.8.0-cp36-cp36m-manylinux1_x86_64.whl for URL http://mirrors.aliyun.com/pypi/packages

/0a/75/d54af657adc8625aa950ae7be4e4f33ef2b5014380556790fc6c7b7d095d/lxml-3.8.0-cp36-cp36m-manylin

ux1_x86_64.whl#md5=0cf2148ff4e6e65bf9f0bb0c97733f2f (from http://mirrors.aliyun.com/pypi/simple/l

xml/)

请教各位如何解决?

按照网上说的额

pip3 install wheel

然而还是没用请教倒是是怎么解决

当然如果直接用pip 那么是python 2.7的

根据这个帖子 centos python安装lxml报错

yum groupinstall development tools

yum install python-devel

发现安装的都是python 2.7的

结果还是报错

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值