[报错处理]Could not find a version that satisfies the requirement xml (from versions)

Posted everfight的成长之路

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了[报错处理]Could not find a version that satisfies the requirement xml (from versions)相关的知识,希望对你有一定的参考价值。

安装xml库发生报错

pip3 install xml 
Collecting xml
  Could not find a version that satisfies the requirement xml (from versions: )
No matching distribution found for xml

尝试安装lxml进行代替

[email protected]:/home/ubuntu/publisher_info# pip3 install lxml 
Collecting lxml
  Downloading https://files.pythonhosted.org/packages/30/65/6dcc7a1a0ec3bbc10a1316b3610f9997ca132183a5f5345c5b88fc1eaf79/lxml-4.2.1-cp35-cp35m-manylinux1_x86_64.whl (5.6MB)
    100% |████████████████████████████████| 5.6MB 3.5MB/s 
Installing collected packages: lxml
Successfully installed lxml-4.2.1

以上是关于[报错处理]Could not find a version that satisfies the requirement xml (from versions)的主要内容,如果未能解决你的问题,请参考以下文章