aws-elastic-beanstalk-cli-setup: Install fails when trying to install on Ubuntu 18.04
Hello, i have been trying to install this CLI to be able to ssh into my elasticbeanstalk machine, but it fails.
At the beggining it failed because it lacked zlib1g, but i solved it with: sudo apt-get install zlib1g-dev.
Then it failed because it lacked the ‘_ctypes’, then i did: sudo apt-get install libffi-dev and went on.
Now i’m stuck at this, after this message:
Last 10 log lines:
install|*) ensurepip="" ;; \
esac; \
./python -E -m ensurepip \
$ensurepip --root=/ ; \
fi
Looking in links: /tmp/tmpocghb8ub
Collecting setuptools
Collecting pip
Installing collected packages: setuptools, pip
Successfully installed pip-18.1 setuptools-40.6.2
Exiting due to failure
==============================================
II. Creating self-contained EBCLI installation
==============================================
./aws-elastic-beanstalk-cli-setup/scripts/bundled_installer: línea 51: /home/tomroima/.pyenv/versions/3.7.2/bin/python: No existe el archivo o el directorio
./aws-elastic-beanstalk-cli-setup/scripts/bundled_installer: línea 28: echo_with_indentation: orden no encontrada
Did anyone else hit this problem? Is there anything else that can be done?
Thanks in advance
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 16 (6 by maintainers)
Commits related to this issue
- Add instructions to install missing libraries on Linux/OS X A lot of users have reported installation difficulties owing to absence of OpenSSL, bzip2, etc. This commit adds a Troubleshooting section ... — committed to aws/aws-elastic-beanstalk-cli-setup by rahulrajaram 5 years ago
- Add instructions to install missing libraries on Linux/OS X A lot of users have reported installation difficulties owing to absence of OpenSSL, bzip2, etc. This commit adds a Troubleshooting section ... — committed to aws/aws-elastic-beanstalk-cli-setup by rahulrajaram 5 years ago
- Add instructions to install missing libraries on Linux/OS X A lot of users have reported installation difficulties owing to absence of OpenSSL, bzip2, etc. This commit adds a Troubleshooting section ... — committed to aws/aws-elastic-beanstalk-cli-setup by rahulrajaram 5 years ago
- Add instructions to install missing libraries on Linux/OS X A lot of users have reported installation difficulties owing to absence of OpenSSL, bzip2, etc. This commit adds a Troubleshooting section ... — committed to aws/aws-elastic-beanstalk-cli-setup by rahulrajaram 5 years ago
if you install all of the following dependencies
the command will work, worked for me after installing them, you might also want to install docker: https://docs.docker.com/install/linux/docker-ce/ubuntu/
@tomroima , thanks for reaching out. We should update installation instructions for Ubuntu to include zlib, openssl, libffi, etc.
As for the issue you are facing now, I think I have an idea of what the problem is, but I need to run a few tests.
Can you delete the
.pyenv-repositoryin your home directory and rerun thebundled_installer? If that doesn’t work, install Python through other means and run theebcli_installer.pyas a Python script.@Mohammad-Kabajah Thank you!!! your solution saved my day. I had same problem as @jazzyjackson.
Hi, I am also arriving at this error using the install script on Mac OSX, I’m getting messages about OpenSSL python extension missing. While that may be a personal problem, the install script is exiting with this
echo_with_indentationwhich is a function not defined in the bash script. It took a while to finally scroll up at the real error message, “ERROR: The Python ssl extension was not compiled”I’ve tried using brew install for python, openssl, readline, and everything looks up to date. I’d appreciate any advice on how to get past this – this is the first time I’ve used this macbook for pyenv so I don’t know if it could be some kind of version conflict (
brew install pythoninstalls 3.7.3)