最近在使用pip镜像源下载东西时,报错。
报错信息
WARNING: The repository located at pypi.douban.com is not a trusted or secure host and is being ignored. If this repository is available via HTTPS we recommend you use HTTPS instead, otherwise you may silence this warning and allow it anyway with '--trusted-host pypi.douban.com'.
ERROR: Could not find a version that satisfies the requirement pyqt5 (from versions: none)
ERROR: No matching distribution found for pyqt5
解决措施
使用的源的访问方式改成https
修改后的常用的镜像源
测试命令
pip install pyqt5 -i https://pypi.douban.com/simple/