title: How to fix "ComputerVisionErrorException: Operation returned an invalid status code 'PermissionDenied'"
body: <p>I am getting <code>ComputerVisionErrorException: Operation returned an invalid status code 'PermissionDenied'</code> when trying to analyse image by passing an argument, if I am giving input as a variable, there is no error. Please help on giving input as variable.</p>
  
  <pre class="lang-py prettyprint-override"><code>path = raw_input("enter path: ")
  
  # --snip--
  
  with open(os.path.join(IMAGES_FOLDER, path), "rb") as image_stream:
  
  # --snip--
  </code></pre>
  
  <p>It works fine. But I am trying to use:</p>
  
  <pre class="lang-py prettyprint-override"><code>path = sys.argv[1]
  </code></pre>
  
  <p>However, I get the error above. I want it to work just fine as it is with taking an input.</p>