aws-elastic-beanstalk-cli-setup
                                
                                 aws-elastic-beanstalk-cli-setup copied to clipboard
                                
                                    aws-elastic-beanstalk-cli-setup copied to clipboard
                            
                            
                            
                        syntax error in installation process
1. Please specify the following:
- 
OS: [e.g. OS X, Ubuntu, Windows, etc.]: OS X 11.3.1 
- 
Shell (Bash, PowerShell, Zsh, etc.): bash 3.2 
- 
[X] I have reviewed the troubleshooting tips described here and they do not solve my problem 
2. Description After cloning the repo and running the bundled_installer script, the script does not complete code due to syntax error. Here is the console output:
bash-3.2$ ./aws-elastic-beanstalk-cli-setup/scripts/bundled_installer
==============================================
I. Installing Python
==============================================
*************************************************************
1. Determining whether pyenv is already installed and in PATH
*************************************************************
    - pyenv was not found in PATH.
*********************************************************
2. Determining whether pyenv should be cloned from GitHub
*********************************************************
    - pyenv git repository already cloned to /Users/matt/.pyenv-repository. Won't attempt to clone again.
*******************************************
3. Temporarily export necessary pyenv paths
*******************************************
****************************************************************************
4. Checking whether Python can be downloaded (through curl, wget, or aria2c)
****************************************************************************
************************************************************
5. Installing Python 3.7.2. This step may take a few minutes
************************************************************
Downloading openssl-1.0.2k.tar.gz...
-> https://pyenv.github.io/pythons/6b3977c61f2aedf0f96367dcfb5c6e578cf37e7b8d913b4ecb6643c3cb88d8c0
Installing openssl-1.0.2k...
Installed openssl-1.0.2k to /Users/matt/.pyenv/versions/3.7.2
Downloading readline-6.3.tar.gz...
-> https://pyenv.github.io/pythons/56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43
Installing readline-6.3...
BUILD FAILED (OS X 11.3.1 using python-build 20180424)
Inspect or clean up the working tree at /var/folders/_d/rmb8ssws65nch5xrj03y3qvr0000gn/T/python-build.20210505115446.92317
Results logged to /var/folders/_d/rmb8ssws65nch5xrj03y3qvr0000gn/T/python-build.20210505115446.92317.log
Last 10 log lines:
         ~~~~~~^~~~~~~~~~~~~
complete.c:2193:16: note: place parentheses around the assignment to silence this warning
  while (entry = getpwent ())
               ^
         (                  )
complete.c:2193:16: note: use '==' to turn this assignment into an equality comparison
  while (entry = getpwent ())
               ^
               ==
3 warnings generated.
   Exiting due to failure
bash-3.2$
Hey, quit using this script, use the homebrew one described here: https://docs.aws.amazon.com/pt_br/elasticbeanstalk/latest/dg/eb-cli3-install-osx.html
$ brew install awsebcli