code: def __get_version(version):
      # matching 1.6.1, and 1.6.1rc, 1.6.1.dev
      version_regex = "^\d+\.\d+\.\d+"
      version = _re.search(version_regex, str(version)).group(0)
      return _StrictVersion(version)
  
file_path: turicreate/src/python/turicreate/_deps/__init__.py
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import absolute_import
  from distutils.version import StrictVersion
  import logging
  import re
  from turicreate import __version__
  from turicreate._deps.minimal_package import is_minimal_pkg
label_desc: Use image node_id 1 for calling a global function with example usage: __get_version(version) and returns: _StrictVersion