安装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
原文地址:https://www.cnblogs.com/everfight/p/xml_install.html
时间: 2024-10-09 17:12:36