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

Shell commands such as !pip !python !where python do not point to the right executable #9089

Closed
DonJayamanne opened this issue Feb 21, 2022 · 3 comments · Fixed by #9090 or #9163
Closed
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug notebook-execution Kernels issues (start/restart/switch/execution, install ipykernel) verified Verification succeeded
Milestone

Comments

@DonJayamanne
Copy link
Contributor

This has been reported a few times and we've take the route of recommending users use %pip and the like, and didn't really fix the underlying issue.

Solution: Put the python executable directory in front of the PATH entries

@DonJayamanne DonJayamanne added bug Issue identified by VS Code Team member as probable bug notebook-execution Kernels issues (start/restart/switch/execution, install ipykernel) labels Feb 21, 2022
@DonJayamanne DonJayamanne self-assigned this Feb 21, 2022
@DonJayamanne DonJayamanne added this to the February 2022 milestone Feb 21, 2022
@joyceerhl joyceerhl added verified Verification succeeded verification-steps-needed Steps to verify are needed for verification and removed verified Verification succeeded labels Feb 25, 2022
@joyceerhl
Copy link
Contributor

@DonJayamanne Do you have any specific verification steps?

@rzhao271 rzhao271 added the verified Verification succeeded label Feb 28, 2022
@rzhao271
Copy link
Contributor

I get a list of Pythons when I run !where python in the IW but I don't think it found the venv one:

A list of Pythons in the IW

@rzhao271 rzhao271 reopened this Feb 28, 2022
@rzhao271 rzhao271 added the verification-found Issue verification failed label Feb 28, 2022
@rzhao271 rzhao271 removed verified Verification succeeded verification-found Issue verification failed labels Mar 2, 2022
@DonJayamanne DonJayamanne modified the milestones: February 2022, March 2022 Mar 2, 2022
@rzhao271
Copy link
Contributor

rzhao271 commented Mar 3, 2022

It works!

@rzhao271 rzhao271 added verified Verification succeeded and removed verification-steps-needed Steps to verify are needed for verification labels Mar 3, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug notebook-execution Kernels issues (start/restart/switch/execution, install ipykernel) verified Verification succeeded
Projects
None yet
3 participants