[报错处理]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进行代替

root@5a968be9a4aa:/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
    原文作者:everfight
    原文地址: https://www.cnblogs.com/everfight/p/xml_install.html
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞