Could not find a version that satisfies the requirement lxml解决方法

Today ytkah ERROR an error when installing lxml: Could not find a version that satisfies the requirement lxml (from versions: none), ERROR: No matching distribution found for lxml, try to upgrade my pip

python -m pip install --upgrade pip

  Again install lxml or wrong, considering that the network is unstable problem, then we use the mirror source to accelerate domestic

pip install 包名-i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com

  --trusted-host pypi.douban.com This is to obtain the certification ssl certificate

execution succeed!

But every so manually enter would be more trouble, we advise you to replace the country's image source when changing system details, refer to https://blog.csdn.net/u012592062/article/details/51966649

 

Guess you like

Origin www.cnblogs.com/ytkah/p/12332265.html