Update installing-using-pip-and-virtual-environments.rst#1542
Open
dharmatech wants to merge 1 commit intopypa:mainfrom
Open
Update installing-using-pip-and-virtual-environments.rst#1542dharmatech wants to merge 1 commit intopypa:mainfrom
dharmatech wants to merge 1 commit intopypa:mainfrom
Conversation
Use `Get-Command` if on PowerShell
Contributor
|
Thanks! Let's put the command into another code block with PowerShell code lexer? |
Member
|
Hey @dharmatech, would you address the review comment? |
merwok
suggested changes
Jan 30, 2026
Comment on lines
+106
to
+107
| Get-Command python # If using PowerShell | ||
| where python # If using Command Prompt |
Contributor
There was a problem hiding this comment.
Suggested change
| Get-Command python # If using PowerShell | |
| where python # If using Command Prompt | |
| where python | |
| ..tab:: Windows (PowerShell) | |
| .. code-block:: bat | |
| Get-Command python |
Contributor
There was a problem hiding this comment.
and edit line 102 to be .. tab:: Windows (Command Prompt)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Use
Get-Commandif on PowerShellwherein PowerShell is an alias forWhere-Object.If you use
wherein Powershell, no output is returned. UseGet-Commandinstead:📚 Documentation preview 📚: https://python-packaging-user-guide--1542.org.readthedocs.build/en/1542/