import sys
sys.prefix
>>> 'C:\\Users\\strange\\AppData\\Local\\Programs\\Python\\Python37'
</pre>
Der Pfad zu den 3th party libs<br>
import site
site.getsitepackages()
>>> 'C:\\Users\\strange\\AppData\\Local\\Programs\\Python\\Python37', 'C:\\Users\\strange\\AppData\\Local\\Programs\\Python\\Python37\\lib\\site-packages'
</pre>