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?
It's picking up the Python 3 version of the
eb
tool. You need to add the Python 2.7 version to your path.