          import pip  # pylint:disable=import-outside-toplevel
          pip_version = pip.__version__
          self.output.info(f"Installed pip: {pip_version}")
  
      def get_installed_packages(self):
          """ Get currently installed packages """
          installed_packages = {}
          with Popen(f"\"{sys.executable}\" -m pip freeze --local", shell=True, stdout=PIPE) as chk:
              installed = chk.communicate()[0].decode(self.encoding).splitlines()
  
 
</s> remove             return None
 </s> add             return {} </s> remove     def get_installed_conda_packages(self):
 </s> add     def get_installed_conda_packages(self) -> Dict[str, str]: </s> remove     def check_pip(self):
 </s> add     def check_pip(self) -> None: </s> remove     def upgrade_pip(self):
 </s> add     def upgrade_pip(self) -> None: </s> remove     def process_arguments(self):
 </s> add     def process_arguments(self) -> None:
    def get_installed_packages(self) -> Dict[str, str]:
          import pip  # pylint:disable=import-outside-toplevel
          pip_version = pip.__version__
          self.output.info(f"Installed pip: {pip_version}")
  
    def get_installed_packages(self) -> Dict[str, str]:
          """ Get currently installed packages """
          installed_packages = {}
          with Popen(f"\"{sys.executable}\" -m pip freeze --local", shell=True, stdout=PIPE) as chk:
              installed = chk.communicate()[0].decode(self.encoding).splitlines()
  
keep keep keep keep replace keep keep keep keep keep
 Add Apple M1 to setup.py

add libblas to requirements 
setup.py