Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide better suggestions (or install pip automatically) when it is missing #440

Closed
MikhailArkhipov opened this issue Dec 15, 2017 · 5 comments
Assignees
Labels
feature-request Request for new features or functionality macos

Comments

@MikhailArkhipov
Copy link

MacOS. Pip is missing. It is unclear to the user what to do...

image

@MikhailArkhipov
Copy link
Author

@brettcannon brettcannon added awaiting 1-decision feature-request Request for new features or functionality labels Dec 15, 2017
@brettcannon
Copy link
Member

brettcannon commented Dec 15, 2017

the problem is the solution varies from OS to OS and that Python should be installed with pip as of a couple versions ago (including Python 2.7).

You also shouldn't be running the system Python that came with your OS, e.g. on macOS you should install Python using Homebrew, on Debian you need to install (I think) python3-pip.

@MikhailArkhipov MikhailArkhipov self-assigned this Dec 15, 2017
@MikhailArkhipov
Copy link
Author

MikhailArkhipov commented Dec 15, 2017

Well, my Mac did not have it although technically it is 2.7.10 but I guess for OS hardening it could be excluded. So basically we need to either provide some easy guidance as a message or, better still, attempt to install it (with user consent, of course).

BTW, I do have 3.6 installed but I suspect we defaulted to 2.7 which came with OS? We may choose to pick the highest instead on the first launch.

@brettcannon
Copy link
Member

Actually macOS lacks pip because their version of Python is from 2015.

As for why the OS-installed version got picked up first, maybe because it was first on the PATH and the code checks for python before python3?

@MikhailArkhipov
Copy link
Author

4372809

@lock lock bot locked as resolved and limited conversation to collaborators Jul 12, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature-request Request for new features or functionality macos
Projects
None yet
Development

No branches or pull requests

2 participants