          except ImportError:
              self.output.error("Import pip failed. Please Install python3-pip and try again")
              sys.exit(1)
  
      def upgrade_pip(self):
          """ Upgrade pip to latest version """
          if not self.is_conda:
              # Don't do this with Conda, as we must use Conda version of pip
              self.output.info("Upgrading pip...")
              pipexe = [sys.executable, "-m", "pip"]
 
</s> remove     def check_pip(self):
 </s> add     def check_pip(self) -> None: </s> remove     def get_installed_packages(self):
 </s> add     def get_installed_packages(self) -> Dict[str, str]: </s> remove     def output_runtime_info(self):
 </s> add     def output_runtime_info(self) -> None: </s> remove             if self.env.is_conda and not pkg.startswith("git"):
 </s> add             if self.env.is_conda and not self.env.enable_apple_silicon: </s> remove     def update_tf_dep(self):
 </s> add     def update_tf_dep(self) -> None:
    def upgrade_pip(self) -> None:
          except ImportError:
              self.output.error("Import pip failed. Please Install python3-pip and try again")
              sys.exit(1)
  
    def upgrade_pip(self) -> None:
          """ Upgrade pip to latest version """
          if not self.is_conda:
              # Don't do this with Conda, as we must use Conda version of pip
              self.output.info("Upgrading pip...")
              pipexe = [sys.executable, "-m", "pip"]
keep keep keep keep replace keep keep keep keep keep
 Add Apple M1 to setup.py

add libblas to requirements 
setup.py