input: Write a function to install a given software using Bash. The function should take the software's version as input and generate a Bash script to install that specific version. If the input is empty or invalid, the function should return an appropriate error message.
  
  assert install_software("Python 3.8.5") == """#!/bin/bash
  
  # Download latest version of Python
  curl -O https://www.python.org/ftp/python/3.8.5/Python-3.8.5.tgz
  
  # Extract the tgz file
  tar -xzf Python-3.8.5.tgz
  
  # Move into the Python directory
  cd Python-3.8.5
  
  # Run the configure script
  ./configure
  
  # Compile and install
  make
  make install"""
  
  assert install_software("") == "Error: No software version provided."
  assert install_software("Invalid Input") == "Error: Invalid software version provided."
output: def install_software(version):
      if not version:
          return "Error: No software version provided."
      if " " not in version:
          return "Error: Invalid software version provided."
      
      software, ver = version.split(" ", 1)
      if software.lower() != "python":
          return "Error: Invalid software version provided."
      
      return f"""#!/bin/bash
  
  # Download latest version of Python
  curl -O https://www.python.org/ftp/python/{ver}/Python-{ver}.tgz
  
  # Extract the tgz file
  tar -xzf Python-{ver}.tgz
  
  # Move into the Python directory
  cd Python-{ver}
  
  # Run the configure script
  ./configure
  
  # Compile and install
  make
  make install"""