I have python 3.6 installed as my sole system-wide python, but also a little installation of 2.7 tucked away on the side. Qgis keeps trying to start with the 3.6 and fails. How do I make it to use the 2.7 instead?

Note: setting PYTHONHOME in python-core.bat hasn't helped.