Outdated Python version

Hi!

Long story short: I have a problem (TLS-handshake failed) with an addon (Retrospect) that can only be solved by using a newer version of Python. It was my understanding that Kodi uses a built-in Python interpreter, but at least on Linux it seems it uses the system’s library. I cannot update Python system-wide since that could cause all sorts of problems, what I would like to do is force Kodi and/or Retrospect to use a local version installed with conda. Anyway to do that? I tried simply activating the conda environment before starting Kodi but that creates even more problems, probably because of mixing Python versions. How does Kodi determine the which Python interpreter and module path to use?

My system is Ubuntu 14.04 LTS which comes with Python 2.7.6.