title: "No such file or directory: 'hostname -I'" in subprocess
body: <p>I'm trying to get the IP of the computer using Python and 'check_output' from 'subprocess'. My code is:</p>
  
  <pre><code>import subprocess
  
  rawIp = subprocess.check_output("hostname -I")
  #converts the output of rawIp to a string
  ip = rawIp.decode("utf-8")
  print(ip)
  </code></pre>
  
  <p>I have no clue as to why this is happening. In my code I have a few other 'check_output`'s and they all work as intended.</p>