              self.env.required_packages.extend(self.env.macos_required_packages)
          for pkg in self.env.required_packages:
              pkg = self.check_os_requirements(pkg)
              key = pkg.split("==")[0]
              if key not in self.env.installed_packages:
                  self.env.missing_packages.append(pkg)
                  continue
 
</s> remove         cuda_keys = [key
                     for key in os.environ.keys()
                     if key.lower().startswith("cuda_path_v")]
 </s> add         cuda_keys = self.cuda_keys_windows </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) </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("_", ".")
            if pkg is None:
                continue
              self.env.required_packages.extend(self.env.macos_required_packages)
          for pkg in self.env.required_packages:
              pkg = self.check_os_requirements(pkg)
            if pkg is None:
                continue
              key = pkg.split("==")[0]
              if key not in self.env.installed_packages:
                  self.env.missing_packages.append(pkg)
                  continue
keep keep add 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