aws / aws/aws-elastic-beanstalk-cli-setup
Segmentation fault on pip install virtualenv step for Fedora 35
- Dominant language
- Python
- Stars
- 537
- Forks
- 226
- PR merge metrics
- No merged PRs in 30d
Description
**1. Please specify the following:**
- OS: Fedora 35 running Gnome 41.2
- Shell: bash
**2. Description**
Using the setup script I get to the `pip install virtualenv` step and the process fails and exits with a segmentation fault:
```bash
****************************************************************************
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
************************************************************
- Python 3.7.2 is installed at /home/myhome/.pyenv/versions/3.7.2/bin
*************************************************************************
6. Installing virtualenv using /home/myhome/.pyenv/versions/3.7.2/bin/pip
*************************************************************************
./python_installer: line 153: 6162 Segmentation fault (core dumped) ${PYENV_BIN}/pip install virtualenv
Exiting due to failure
```
I tried using the `pip` command to get the version but the command fails when I do anything. It has a segmentation fault no matter what. I even installed it again to see if it was just an issue with the first installation and it still does it.
Is there any reported issues with Fedora 35 running this script?
Contributor guide
Research direction
Reproduce the setup script on Fedora 35 and inspect the `pip install virtualenv` failure in `python_installer` around line 153. Check whether the installed Python 3.7.2 `pip` fails consistently before or during that command. Done means identifying a reproducible cause and documenting or validating a fix for the segmentation fault.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- bash, fedora, python
- Domain
- cli, devops
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100