bundled_installer stuck at Installing Python-3.7.2
See original GitHub issueI’m trying to install the CLI on Ubuntu 18.08. When I run bundle_installer I see the following logs :
> 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 /home/shabin/.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
> **************************
> Downloading Python-3.7.2.tar.xz...
> -> https://www.python.org/ftp/python/3.7.2/Python-3.7.2.tar.xz
> Installing Python-3.7.2...`
After reaching step 5, the script is stuck there like for ever. Nothing gets printed in the console after this. I hit Ctrl+C after like 20 minutes and then see this when the program exits :
> BUILD FAILED (Ubuntu 18.04 using python-build 20180424)
>
> Inspect or clean up the working tree at /tmp/python-build.20190520135926.5003
> Results logged to /tmp/python-build.20190520135926.5003.log
>
> Last 10 log lines:
> /tmp/python-build.20190520135926.5003 ~/EBS_CLI/aws-elastic-beanstalk-cli-setup/scripts
> /tmp/python-build.20190520135926.5003/Python-3.7.2 /tmp/python-build.20190520135926.5003 ~/EBS_CLI/aws-elastic-beanstalk-cli-setup/scripts
> checking build system type... Exiting due to failure
>
> II. Creating self-contained EBCLI installation
> ./aws-elastic-beanstalk-cli-setup/scripts/bundled_installer: line 51: /home/shabin/.pyenv/versions/3.7.2/bin/python: No such file or directory
> ./aws-elastic-beanstalk-cli-setup/scripts/bundled_installer: line 28: echo_with_indentation: command not found
Issue Analytics
- State:
- Created 4 years ago
- Reactions:5
- Comments:7 (1 by maintainers)
Top Results From Across the Web
Stuck at python installed successfully · Issue #244 - GitHub
The workaround I used was this: Run npm install -g windows-build-tools; Navigate to %USERPROFILE%\AppData\Local\Temp and look for ...
Read more >Python installer blocked at initializing step - Stack Overflow
I was trying to install Python3.6 on my computer using the installer, but the installer blocked at the initializing step.
Read more >PlatformIO IDE installer on VScode (on mac) is stuck in a loop
I am trying to install PlatformIO IDE on VScode on MacOS (python 3.7.1) ... I made sure that I am using python3.7.2 (still...
Read more >Python 3 Installation & Setup Guide
In this tutorial you'll learn how to: Check which version of Python, if any, is installed on your machine; Install or update Python...
Read more >How to Setup Your Python Environment for Machine Learning ...
In this tutorial, we will cover the following steps: Download Anaconda; Install Anaconda; Start and Update Anaconda; Update scikit-learn Library ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
For me this worked on mac:
Python installation takes forever when installing using the installation script (I’m assuming because the latest version is getting compiled). So unless you absolutely need the latest commit for some reason, you could just install the pre-compiled version using pip instead and it will be done in seconds.
pip3 install awsebcli --upgrade --user
.