title: Python - Can't import bcrypt in local app engine dev server
body: <p>I am trying to develop a simple forum site for my udacity assignment. It is not a strict requirement to use the bcrypt for password hashing, but I'd like to do it because I also like to know how to use third party libraries which are not provided by Google. </p>
  
  <p>Following instructions provided <a href="https://cloud.google.com/appengine/docs/standard/python/tools/using-libraries-python-27" rel="nofollow noreferrer">here</a> (installing a third-party library), I have created a folder named lib, and installed bcrypt library with following command: </p>
  
  <pre><code>python -m pip install -t lib/ bcrypt
  </code></pre>
  
  <p>I have the lib folder automatically structred like this: </p>
  
  <p><a href="https://i.stack.imgur.com/UfZaR.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/UfZaR.png" alt="structre of lib folder"></a></p>
  
  <p>I also created an appengine_config.py file with following content, as per instructions in above manual: </p>
  
  <pre><code># appengine_config.py
  from google.appengine.ext import vendor
  
  # add lib folder as vendor directory
  vendor.add('lib')
  </code></pre>
  
  <p>At this point, I am unable to import the bcrypt to my scripts. The import commands I tried so far are as follows: </p>
  
  <hr>
  
  <pre><code>from lib import bcrypt
  </code></pre>
  
  <blockquote>
    <p>ImportError: No module named lib</p>
  </blockquote>
  
  <hr>
  
  <hr>
  
  <pre><code>import bcrypt
  </code></pre>
  
  <blockquote>
    <p>ImportError: No module named bcrypt._bcrypt</p>
  </blockquote>
  
  <hr>
  
  <hr>
  
  <pre><code>from lib.bcrypt import bcrypt
  </code></pre>
  
  <blockquote>
    <p>ImportError: No module named lib.bcrypt</p>
  </blockquote>
  
  <hr>
  
  <p>What am I missing? </p>