Can't import passlib into python3
<p>Trying to import passlib into python3 and it fails:</p>

<pre><code>$ pip freeze | grep lib
passlib==1.6.5

$ python3
Python 3.4.2 (default, Oct  8 2014, 10:45:20)

&gt;&gt;&gt; import passlib
Traceback (most recent call last):
  File "&lt;stdin&gt;", line 1, in &lt;module&gt;
ImportError: No module named 'passlib'
</code></pre>

<p><code>pip</code> will install a library for python 2. If you want to install it for python 3 too, you must do so separately:</p>

<pre><code>$ python3 -m pip install passlib
</code></pre>

python python-3.x pip passlib