PyCharm ImportError: No module named googleapiclient
<p>I'm new to PyCharm and am trying to build/deploy a simple app to AppEngine.  I've gone to PyCharm-->Preferences, clicked the Project Interpreter, and installed google-api-python-client which includes googleapiclient.  However, when I run this app and load the page, it dies on this line:</p>

<pre><code>from googleapiclient import discovery
</code></pre>

<p>with this error:</p>

<pre><code>ImportError: No module named googleapiclient
</code></pre>

<p>I've dropped to PyCharm's CLI interpreter and run the same command where it runs fine, only when running as web app does it fail.</p>

<p>Have looked through the other folks having the same problem, and all the solutions talk about installing the package in the project interpreter, which I've already done, but it's still failing.  Any help is appreciated.</p>

<p>From the client library's <a href="https://developers.google.com/api-client-library/python/guide/google_app_engine#installation" rel="nofollow">Installation instructions</a>:</p>

<blockquote>
  <p>For information on installing the source for the library into your App
  Engine project, see the <a href="https://developers.google.com/api-client-library/python/start/installation#appengine" rel="nofollow">App Engine specific installation
  instructions</a>.</p>
</blockquote>

<p>Which states:</p>

<blockquote>
  <p>Because the Python client libraries are not installed in the <a href="https://cloud.google.com/appengine/docs/python/" rel="nofollow">App
  Engine Python runtime environment</a>, they must be <a href="https://cloud.google.com/appengine/docs/python/tools/libraries27#vendoring" rel="nofollow">vendored into
  your application</a> just like third-party libraries.</p>
</blockquote>

<p>The role of these instructions is to make the app itself self-contained and keep the dev server happy - they do not know (and should not need to know) how to read pycharm configs to run the code.</p>

python google-app-engine pycharm google-api-client