运行 `pip install aws cli` 中的错误:"could not find a version that satisfies the requirement cli"

error in running `pip install aws cli`: "could not find a version that satisfies the requirement cli"

我在一台基于 Windows 的机器上为我的 shell 使用 GitBash。当我 运行、pip install aws cli 时,我收到以下消息:

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

我用谷歌搜索了这个错误,许多回复表明它可能是 pypi 等中不包含的包的结果 ()。

但是,由于我正在观看此处的视频:http://course.fast.ai/lessons/aws.html 在 4:13,并且它对讲师有用,我不确定我错过了什么 - 有人可以帮助我吗了解这一点(包括任何有用的故障排除命令来确定问题的根源?)

我是 AWS 的新手,也是 bash,所以如果这是一个相对初级的问题,我深表歉意。

提前致谢! -瑞安

命令应该是:

pip install awscli

您需要删除 'aws' 和 'cli' 之间的 space。

试试这些命令

curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py

python get-pip.py

然后

pip install awscli