Created
July 27, 2023 11:34
-
-
Save Scemist/f57eac290ba077ae21f072946561b7e2 to your computer and use it in GitHub Desktop.
Run WSL Python From Powershell
This file contains 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
# If I already have Python on WSL, do I need to install it also on Windows to use in applications and Powershell? No: | |
function WslPython { wsl -e python3 } | |
New-Alias -Force -Name python -Value WslPython | |
# So I'm able to run Python in Windows by: python --version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment