Pycharm安装第三方库

今天使用pycharm安装第三方库时遇到如下报错:
pip isntall lxml

Could not find a version that satisfies the requirement lxml (from versions: )
No matching distribution found for lxml

此问题在于镜像源里没有合适的版本,因此修该镜像源即可
pip install lxml -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com

你可能感兴趣的:(python)