安装awsebcli时出错

2 投票
1 回答
2190 浏览
提问于 2025-05-10 15:15

我在Windows 10上尝试安装AWS EB命令行工具,但遇到了一个错误。

我的Python版本是:3.5

我做了什么:

python -m pip install awsebcli

我得到了什么:

......
copying lib3\yaml\__init__.py -> build\lib.win-amd64-3.5\yaml
running build_ext
creating build\temp.win-amd64-3.5
creating build\temp.win-amd64-3.5\Release
checking if libyaml is compilable
error: [WinError 2] ═ The system cannot find the file specified
----------------------------------------
Command ""C:\Program Files\Python 3.5\python.exe" -c "import setuptools, tokenize;__file__='C:\\Users\\Maksim\\AppData\\Local\\Temp\\pip-build-dkbpajst\\pyyaml\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record C:\Users\Maksim\AppData\Local\Temp\pip-y0knjbc5-record\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\Maksim\AppData\Local\Temp\pip-build-dkbpajst\pyyaml

可能出什么问题了呢?

相关文章:

  • 暂无相关问题
暂无标签

1 个回答

0

根据官方文档的说法:"EB CLI不支持Python 3.5版本."
我现在用的是Python 3.4.3,运行得很好。它在Python 2.7.x上也能正常工作。

撰写回答