aws / aws/aws-elastic-beanstalk-cli-setup

OSX Pip and Python versions off

Open
#67 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
537
Forks
226
PR merge metrics
No merged PRs in 30d

Description

**1. Please specify the following:**
- OS: OS X
- Shell: Bash

- [x] **I have reviewed the troubleshooting tips described [here]() and they do not solve my problem**

**2. Description**
Not sure the best way to report this, as I patched my way through it.

During step 6 of the installer, I ran into the following issue:

![image](https://user-images.githubusercontent.com/9086184/71737749-9a41f100-2e22-11ea-90b6-3b5199693b19.png)

The `python_installer` was looking for a `pip` binary, when only `pip3` and `pip3.7` existed
Screen Shot 2020-01-03 at 11 57 54 AM

Patching the references on `python_installer` line 154 (and docstring on 198) to use `pip3` instead of `pip` resolves the issue.
![image](https://user-images.githubusercontent.com/9086184/71738056-79c66680-2e23-11ea-8ffb-6a73bf26c69c.png)

This happened again in the bundled_installer, when it was looking for `python` instead of `python3.7`, so I patched the file paths inside `bundled_installer` `install_ebcli` to use `python3.7`
![image](https://user-images.githubusercontent.com/9086184/71738076-8e0a6380-2e23-11ea-91cf-b45e7d55560b.png)

With these changes my install worked fine and I've successfully used the eb cli since.

Contributor guide

Open the contributing guide

Research direction

Start with step 6 of the installer, especially python_installer line 154 and its docstring at line 198, then inspect bundled_installer and install_ebcli. Reproduce the OS X installation issue and verify that systems providing pip3 and python3.7 complete installation without manual patching.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.