Where Is Python Installed Official
# macOS/Linux ls -l $(which python3) # follow one level realpath $(which python3) # fully resolved path Example output:
Get-ChildItem -Path C:\ -Filter python.exe -Recurse -ErrorAction SilentlyContinue where is python installed
which python3 or to see all instances:
# Find all python3 binaries find /usr -name python3 2>/dev/null find /usr/local -name python3 2>/dev/null find ~ -name python3 2>/dev/null On Unix-like systems (macOS/Linux), which python3 often shows a symlink, not the actual binary. # macOS/Linux ls -l $(which python3) # follow
Now you know exactly where Python lives on your machine, how to find it, and why it matters. Bookmark this guide for the next time you need to locate a wayward Python installation. /dev/null find /usr/local -name python3 2>
where python3