安装awsebcli时出错

时间:2015-11-19 10:53:09

标签: python amazon-web-services elastic-beanstalk

我尝试在Windows 10上安装AWS EB CLI,但出现错误。 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 :(得分:1)

根据the documentation“EB CLI与Python 3.5不兼容。”
我在python Python 3.4.3上,它工作得很好。它也适用于python 2.7.x