-
Notifications
You must be signed in to change notification settings - Fork 37
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
Replace pip with python -m pip #100
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1!
For my personal edification, can y'all give me a ELI5—or a link to read up? |
In general, all operating systems are using environment variable named This path stores a list of directories that are checked in order from this variable to find where the variable is. After finding the first directory that contains the proper named executable with the proper name, the OS stops checking. But for performance reasons system also cache search result. So it may happen that, because of a mess in the You may see a sample bug report here microsoft/vscode-python#8852 |
To add to the above:
|
Thanks guys! |
@psobolewskiPhD probably, but it is still recommended (and I have personally found this to be a problem using conda as well on one or two occasions) |
maybe you directly execute instructions without using "shortcuts". |
For what it's worth this is also what |
I generally use |
Description
This is best practice, to make sure the
pip
being picked up matches the currentpython
executable.Type of change
References
Final checklist: