gpt4 book ai didi

python - 安装 awsebcli 时出错

转载 作者:太空宇宙 更新时间:2023-11-04 05:41:17 27 4
gpt4 key购买 nike

我尝试在 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

有什么问题吗?

最佳答案

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

关于python - 安装 awsebcli 时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33801834/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com