I found the information 'leaked' if I caused an error from the QGIS Python console...
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/code.py", line 91, in runcode
File "<input>", line 1, in <module>
NameError: name '__dict__' is not defined
I see you're on a Mac. I'm pretty sure that Mac QGIS requires the use of the 'standard' python3 framework (i.e. not a Brew version) so it should match the output of
I think you can also work it out from the environment
import os; print(os.environ["PATH"])