CondaEnvException: Pip failed 或 Could not find a version that satisfies the requirement 问题

1 错误实例(Could not find a version that satisfies the requirement imageio==2.27.0)

 2 解决方法

2.1 若对imageio的版本要求不高,可以直接按照提示要求,换提示中的任何版本,如

pip install imageio==2.25.1

2.2 若对imageio的版本保持为原来的版本,可在清华镜像中下载,如

pip install -i https://pypi.tuna.tsinghua.edu.cn/simple imageio==2.27.0

2.3 若想要以后的pip下中自动运用清华镜像下载,可进行配置。

python -m pip install --upgrade pip
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple

3 更多镜像配置可参考清华大学开源软件镜像站

https://mirrors.tuna.tsinghua.edu.cn/help/pypi/

猜你喜欢

转载自blog.csdn.net/qq_42845932/article/details/130021316