title: Can not import google.cloud module in python script
body: <p>I am following <a href="https://www.smashingmagazine.com/2019/01/powerful-image-analysis-google-cloud-vision-python/" rel="nofollow noreferrer">this</a> article trying to make my Python script read labels related to an image using <a href="https://cloud.google.com/vision/" rel="nofollow noreferrer">Google Cloud Vision API</a>. The problem is that I am getting this error when trying to include a reference to <strong>vision</strong> from google.cloud module.</p>
  
  <pre><code>import io
  from google.cloud import vision
  from google.cloud.vision import types
  </code></pre>
  
  <p>The error that I am getting says:</p>
  
  <pre><code>ImportError: No module named 'google.cloud'
  </code></pre>
  
  <p>This is weird because when I do:</p>
  
  <pre><code>$ pip show google-cloud
  </code></pre>
  
  <p>I can see it is there and its files are located at:</p>
  
  <pre><code>/usr/local/lib/python2.7/dist-packages/google_cloud-0.34.0.dist-info/*
  </code></pre>
  
  <p>Except for that, when I do <strong>pip freeze</strong> in my working folder I can see them both that I need available:</p>
  
  <pre><code>google-cloud==0.34.0
  google-cloud-vision==0.33.0
  </code></pre>
  
  <p>I am now wondering what could be the reason for not being able to see include this module in my Python script.</p>