code: def _get_interpreter_info(interpreter=None):
      
      if interpreter is None:
          # If interpreter is None by default returns the current interpreter data.
          major, minor = sys.version_info[:2]
          executable = sys.executable
      else:
          args = [interpreter, '-c', SHOW_VERSION_CMD]
          try:
              requested_interpreter_info = logged_exec(args)
          except Exception as error:
              logger.error("Error getting requested interpreter version: %s", error)
              raise FadesError("Could not get interpreter version")
          requested_interpreter_info = json.loads(requested_interpreter_info[0])
          executable = requested_interpreter_info['path']
          major = requested_interpreter_info['major']
          minor = requested_interpreter_info['minor']
      if executable[-1].isdigit():
          executable = executable.split(".")[0][:-1]
      interpreter = "{}{}.{}".format(executable, major, minor)
      return interpreter
docs: Return the interpreter's full path using pythonX.Y format.