Importuj sys zlokalizuj Python = sys.exec_prefix print (Locate Python)

import sys

locate_python = sys.exec_prefix
print(locate_python)
Quaint Quagga