aws-elastic-beanstalk-cli-setup
aws-elastic-beanstalk-cli-setup copied to clipboard
Fails to find existing python installation
1. Please specify the following:
- OS: Mac Os Catalina 10.15.5
- Shell: Zsh
2. Description The installer tries to install Python 3.7.2, but I have Python 3.8.5 installed already. I would be good to add a test step before downloading a distro.
@etishka , thanks for reaching out. You can use the specific version of Python (3.8.5) to install the EBCLI as follows:
python scripts/ebcli_installer.py --python-installation /path/to/some/python-3.8.5
@etishka , thanks for reaching out. You can use the specific version of Python (3.8.5) to install the EBCLI as follows:
python scripts/ebcli_installer.py --python-installation /path/to/some/python-3.8.5
"python scripts" is not a folder in the repo, but "scripts" is. Additionally, the python-installation argument requires the path to an exe rather than a folder as the example implies. Would strongly recommend adding this to troubleshooting until the installer can be improved.
The ebcli_installer.py doesn't seem to properly add eb to the path; my machine does not recognize it. So either there's a problem with the script, or it isn't meant to do that and it's all the more important to repair the install process.
A proper solution can be found at "4.1 Can I skip the Python installation?", though I must repeat that I agree with @etishka that this check should be baked into the installer, or at minimum moved into troubleshooting.