# macOS/Linux ls -l $(which python3) # follow one level realpath $(which python3) # fully resolved path Example output:
type -a python3 or from within Python:
where python If that returns nothing, try:
# macOS/Linux ls -l $(which python3) # follow one level realpath $(which python3) # fully resolved path Example output:
type -a python3 or from within Python:
where python If that returns nothing, try: where is python installed