              self.env.cuda_path = chk[chk.find("=>") + 3:chk.find("targets") - 1]
  
      def cuda_check_windows(self):
          """ Check Windows CUDA Version """
          cuda_keys = [key
                       for key in os.environ.keys()
                       if key.lower().startswith("cuda_path_v")]
          if not cuda_keys:
              self.output.error("CUDA not found. See "
                                "https://github.com/deepfakes/faceswap/blob/master/INSTALL.md#cuda "
                                "for instructions")
              return
 
</s> remove         self.env.cuda_version = cuda_keys[0].replace("CUDA_PATH_V", "").replace("_", ".")
 </s> add         self.env.cuda_version = cuda_keys[0].lower().replace("cuda_path_v", "").replace("_", ".") </s> remove                         raise err
 </s> add                         msg = ("There was an error reading from the Nvidia Machine Learning "
                               "Library. The most likely cause is incorrectly installed drivers. "
                               "Please remove and reinstall your Nvidia drivers before reporting."
                               "Original Error: {}".format(str(err)))
                        if self.logger:
                            self.logger.error(msg)
                        raise ValueError(msg)
        cuda_keys = self.cuda_keys_windows
              self.env.cuda_path = chk[chk.find("=>") + 3:chk.find("targets") - 1]
  
      def cuda_check_windows(self):
          """ Check Windows CUDA Version """
        cuda_keys = self.cuda_keys_windows
        cuda_keys = self.cuda_keys_windows
        cuda_keys = self.cuda_keys_windows
          if not cuda_keys:
              self.output.error("CUDA not found. See "
                                "https://github.com/deepfakes/faceswap/blob/master/INSTALL.md#cuda "
                                "for instructions")
              return
keep keep keep keep replace replace replace keep keep keep keep keep
 Fixups

- GPUStats: Add more useful advice for pynvml errors
- Setup.py - Fix missing Cuda Path on Windows
- Setup.py - Handle Nonetype error on required packages 
setup.py