input: Write a function to generate a Bash script that installs the specified software version. The function should take a software name and its version as inputs and return a complete Bash script as a string. If the software name is empty, return an error message.
  assert generate_install_script("Python", "3.8.5")=='#!/bin/bash\n\n# Download latest version of Python\ncurl -O https://www.python.org/ftp/python/3.8.5/Python-3.8.5.tgz\n\n# Extract the tgz file\ntar -xzf Python-3.8.5.tgz\n\n# Move into the Python directory\ncd Python-3.8.5\n\n# Run the configure script\n./configure\n\n# Compile and install\nmake\nmake install'
  assert generate_install_script("Node.js", "14.17.0")==None
  assert generate_install_script("", "1.0.0")=="Error: Software name cannot be empty"
  assert generate_install_script("MySQL", "8.0.23")==None
output: def generate_install_script(software, version):
      if not software:
          return "Error: Software name cannot be empty"
      if software == "Python":
          return f'''#!/bin/bash
  
  # Download latest version of Python
  curl -O https://www.python.org/ftp/python/{version}/Python-{version}.tgz
  
  # Extract the tgz file
  tar -xzf Python-{version}.tgz
  
  # Move into the Python directory
  cd Python-{version}
  
  # Run the configure script
  ./configure
  
  # Compile and install
  make
  make install'''
      return None