AWS Elastic Beanstalk Command Line Tool won't

2019-08-04 08:50发布

I'm trying to learn how to deploy to AWS Elastic Beanstalk using a git repository and the elastic beans command line interface.

I've run through setup as per instructions. When I call: eb --version

As per instructions here, it throws the following error:

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

I've never used Python before and don't understand what I'm looking at.

How do I fix this error and run the Elastic Beanstalk command line interface?

1条回答
冷血范
2楼-- · 2019-08-04 09:32

It's picking up the Python 3 version of the eb tool. You need to add the Python 2.7 version to your path.

查看更多
登录 后发表回答