Find Python Location Windows File

If you try to run python or where python and receive the error:

Windows includes a specific launcher called py.exe designed to manage multiple Python versions. This works even if Python is not added to your PATH environment variable. find python location windows

Get-Command python | Select-Object Source If you try to run python or where

If you have a Python shell open, you can find the exact executable being used by running: import sys print(sys.executable) Use code with caution. find python location windows

(Get-Command python).Source

©
FVA GmbH