-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Prompt to install Pip when pip not available #15937
Comments
This is especially likely to happen on Codespaces VMs running older flavors of Linux, e.g. I just dealt with missing |
Can we show this just before we detect we need to install something, instead of prompting on load? The VS Code team has asked us to avoid showing notifications on load, it's better to show it just in time/when needed. At the same time, I would like to avoid scenarios like the following:
Ideally we'd show the "pip is not installed" notification before the "tool is not installed" notification, and in a perfect world we'd remember they wanted to install that tool and start the installation right after pip finished downloading 😅 but I imagine this would be too complicated? |
Yes thats exactly the plan. |
Agreed, and I want that perfect world |
Changing this to "needs spec" since there's a lot to think through before attempting to do this. |
Do we still need this with most installation now moved to Jupyter? I think we've moved out most use cases for this, hence closing. But if I'm wrong please feel free to reopen. |
If Pip isn't available then users cannot install python packages (for non-conda, non-pipenv, poetry projects).
Suggestion - why not ask the user to install pip. This way users can install the packages.
Today we (Jupyter extension) know plenty of users do not install ipykernel & we believe this is because pip isnt' available on their systems. Added issue to gather better telemetry for this #15933
Either way having a prompt to install pip would be a good thing (i think)
If you're ok with this, we'd like to get this in as this would help with our OKR of improve kernel startup success rates (i.e user will be able to install ipykernel once they isntall pip, today they just get an error message from Python extension about this, suggestion is to unblock the user rather than letting them figure out the solution).
@brettcannon @luabud /cc
The text was updated successfully, but these errors were encountered: