clearml_agent/helper/package/pytorch.py
def validate_python_version(self):
        """
        Make sure python version has both major and minor versions as required for choosing pytorch wheel
        """
        self._init_python_ver_cuda_ver()

        if self.is_pip and not self.python_major_minor_str:
            raise PytorchResolutionError(
                "invalid python version {!r} defined in configuration file, key 'agent.default_python': "
                "must have both major and minor parts of the version (for example: '3.7')".format(
                    self.python_version_string
                )
            )

        Make sure python version has both major and minor versions as required for choosing pytorch wheel
        
Make sure python version has both major and minor versions as required for choosing pytorch wheel
Make sure python version has both major and minor versions as required for choosing pytorch wheel
def validate_python_version(self):
        self._init_python_ver_cuda_ver()
        if self.is_pip and not self.python_major_minor_str:
            raise PytorchResolutionError(
                "invalid python version {!r} defined in configuration file, key 'agent.default_python': "
                "must have both major and minor parts of the version (for example: '3.7')".format(
                    self.python_version_string
                )
            )
def validate_python_version ( self ) : self . _init_python_ver_cuda_ver ( ) if self . is_pip and not self . python_major_minor_str : raise PytorchResolutionError ( "invalid python version {!r} defined in configuration file, key 'agent.default_python': " "must have both major and minor parts of the version (for example: '3.7')" . format ( self . python_version_string ) )
Make sure python version has both major and minor versions as required for choosing pytorch wheel
Make sure python version has both major and minor versions as required for choosing pytorch wheel
"""
        Make sure python version has both major and minor versions as required for choosing pytorch wheel
        """
self