question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Install fails when trying to install on Ubuntu 18.04

See original GitHub issue

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

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:16 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
Mohammad-Kabajahcommented, Jun 4, 2019

if you install all of the following dependencies

sudo apt-get install build-essential checkinstall
sudo apt-get install libreadline-gplv2-dev libncursesw5-dev libssl-dev \
    libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev libffi-dev zlib1g-dev

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/

2reactions
rahulrajaramcommented, May 29, 2019

@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-repository in your home directory and rerun the bundled_installer? If that doesn’t work, install Python through other means and run the ebcli_installer.py as a Python script.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can't install Ubuntu 18.04, error writing on /dev/sda
In my case, the disk was simply broken. Reading out the S.M.A.R.T values on a different PC showed some red flags. There must've...
Read more >
Error when trying to install on Ubuntu 18.04 #238 - GitHub
Have you configured pip to not install wheels for some reason? It appears that the installation is trying to install from the source...
Read more >
Install Ubuntu desktop 18.04 - Tutorials
If your computer doesn't automatically boot from USB, try holding F12 when your computer first starts. With most machines, this will allow you...
Read more >
Installation error on Ubuntu 18.04 - Progress Community
When trying to install OE 10.2B 32-bit on Ubuntu 18.04 64-bit an error is returned. Steps to Reproduce.
Read more >
Tried installing ubuntu 18.04 but this error came up. How do i ...
r/Crouton - Tried installing ubuntu 18.04 but this error came up. ... But i can fix this error by doing sudo crouton -n...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found