aws / aws/aws-elastic-beanstalk-cli-setup
virtualenv could not find python after successful install
- Dominant language
- Python
- Stars
- 537
- Forks
- 226
- PR merge metrics
- No merged PRs in 30d
Description
**1. Please specify the following:**
- OS: [e.g. OS X, Ubuntu, Windows, etc.]: OS X 12.6.1
- Shell (Bash, PowerShell, Zsh, etc.): Zsh
- [x] **I have reviewed the troubleshooting tips described [here]() and they do not solve my problem**
**2. Description**
After a successful install, I am receiving the following message:
```
➜ ~ git:(main) ✗ python ./aws-elastic-beanstalk-cli-setup/scripts/ebcli_installer.py
***********************************
1. Locating virtualenv installation
***********************************
....
***************
6. Finishing up
***************
Success!
EBCLI has been installed.
➜ ~ git:(main) ✗ eb --version
env: python: No such file or directory
```
This is my current environment:
```
➜ ~ git:(main) ✗ virtualenv --version
virtualenv 20.19.0 from /usr/local/lib/python3.9/site-packages/virtualenv/__init__.py
➜ ~ git:(main) ✗ which python
python: aliased to python3
➜ ~ git:(main) ✗ which python3
/usr/local/bin/python3
```
I have python installed via homebrew. Not sure if that creates an issue with the install process?
Contributor guide
Research direction
Reproduce the installation with scripts/ebcli_installer.py on the reported OS X and Zsh environment, then run eb --version and inspect the installer’s Python and virtualenv handling. Done means a successful install makes the eb command run without the “env: python: No such file or directory” error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, python, zsh
- Domain
- cli, cloud
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100