ERROR: No matching distribution found for XXX WARNING: The repository located at mirrors.a

ERROR: Could not find a version that satisfies the requirement Django==3.0.8 (from versions: none)
ERROR: No matching distribution found for XXX
WARNING: The repository located at mirrors.aliyun.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 mirrors.aliyun.com'.

这是因为pip.conf配置问题,临时使用方案如下

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

你可能感兴趣的:(ERROR: No matching distribution found for XXX WARNING: The repository located at mirrors.a)