              item = pkg.split(" ")
              retval[item[0]] = item[1]
          return retval
  
      def update_tf_dep(self):
          """ Update Tensorflow Dependency """
          if self.is_conda or not self.enable_cuda:
              # CPU/AMD doesn't need Cuda and Conda handles Cuda and cuDNN so nothing to do here
              return
  
 
</s> remove         if not self.is_conda or not self.enable_cuda:
            return

        if self.os_version[0] == "Windows":
 </s> add         if not self.is_conda or not self.enable_cuda or self.os_version[0].lower() != "linux": </s> remove         and revert it when deactivating.
 </s> add         and revert it when deactivating. Linux/conda only </s> remove     def get_installed_conda_packages(self):
 </s> add     def get_installed_conda_packages(self) -> Dict[str, str]: </s> remove     def is_virtualenv(self):
 </s> add     def is_virtualenv(self) -> bool: </s> remove     def upgrade_pip(self):
 </s> add     def upgrade_pip(self) -> None:
    def update_tf_dep(self) -> None:
              item = pkg.split(" ")
              retval[item[0]] = item[1]
          return retval
  
    def update_tf_dep(self) -> None:
          """ Update Tensorflow Dependency """
          if self.is_conda or not self.enable_cuda:
              # CPU/AMD doesn't need Cuda and Conda handles Cuda and cuDNN so nothing to do here
              return
  
keep keep keep keep replace keep keep keep keep keep
 Add Apple M1 to setup.py

add libblas to requirements 
setup.py