【发布时间】:2014-03-04 00:14:19
【问题描述】:
我正在尝试学习如何使用 git 存储库和弹性 bean 命令行界面部署到 AWS Elastic Beanstalk。
我已经按照instructions 进行了设置。当我打电话时: eb --version
按照here的指令,它会抛出以下错误:
Traceback (most recent call last):
File "/Users/deepthought/Cloud Drive/eb-cli/eb/macosx/python3/eb", line 17, in <module>
from scli import core
File "/Users/deepthought/Cloud Drive/eb-cli/eb/macosx/python3/scli/core.py", line 98
format(output_file), file=sys.stderr)
^
SyntaxError: invalid syntax
我以前从未使用过 Python,也不明白我在看什么。
如何修复此错误并运行 Elastic Beanstalk 命令行界面?
【问题讨论】:
-
你运行的是哪个版本的 Python?
-
我使用的是 2.7.5 版
-
您还应该检查您的 ruby 版本并确保您有 1.8 或 1.9 以使其运行 (docs.aws.amazon.com/elasticbeanstalk/latest/dg/…)
标签: python amazon-web-services amazon-elastic-beanstalk