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

Install pip when not detected when attempting to install ipykernel #7739

Closed
rchiodo opened this issue Sep 28, 2021 · 4 comments
Closed

Install pip when not detected when attempting to install ipykernel #7739

rchiodo opened this issue Sep 28, 2021 · 4 comments
Assignees
Labels
notebook-execution Kernels issues (start/restart/switch/execution, install ipykernel) notebook-getting-started verified Verification succeeded
Milestone

Comments

@rchiodo
Copy link
Contributor

rchiodo commented Sep 28, 2021

In this bug here, #7737 @mjbvz was having trouble installing ipykernel (well because /usr/bin/python didn't have pip)

Why can't we just run python -m ensurepip --upgrade? (as indicated here: https://pip.pypa.io/en/stable/installation/#supported-methods)

@DonJayamanne
Copy link
Contributor

DonJayamanne commented Sep 29, 2021

Python extension didn't want this done when I was planning on submitting a PR for their extension.
We are awaiting on telemetry for this (which was added recently)

@DonJayamanne
Copy link
Contributor

DonJayamanne commented Sep 29, 2021

I totally agree, we should do this, even Kai ran into this, i think Sid and a number of others have run into this very often.
Its a no brainer solution to getting users unblocked, right now we just display a message can't install and go fiture, which isn't a great message for users, they are left scratching their heads

@greazer
Copy link
Member

greazer commented Sep 29, 2021

What is the telemetry going to tell us? What percentage of people failed to install one of our dependencies because they didn't have pip installed? And if that number is high, we use it to convince Python to enable this? :) Or are there other reasons that Python doesn't think this is a good idea?

@rchiodo
Copy link
Contributor Author

rchiodo commented Dec 1, 2021

/verified

@rchiodo rchiodo added the verified Verification succeeded label Dec 1, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 1, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
notebook-execution Kernels issues (start/restart/switch/execution, install ipykernel) notebook-getting-started verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

3 participants