VENV : Accessing system packages?
<p>I want to be able to access a module installed system-wide after the venv was created.
You can see that I can access bcrypt when outside VENV w/o problem, but not inside it
(btw. installation of bcrypt inside VENV fails)</p>

<pre><code># apt-get install python-bcrypt

$ python -c 'import bcrypt'

$ . venv/bin/activate

(venv) $ virtualenv env --system-site-packages
New python executable in env/bin/python
Installing setuptools, pip...done.

(venv) $ python -c 'import bcrypt'
Traceback (most recent call last):
File "&lt;string&gt;", line 1, in &lt;module&gt;
ImportError: No module named bcrypt
</code></pre>

<p>the correct cmd is (venv vs env) :</p>

<pre><code>(venv)$ virtualenv venv --system-site-packages
</code></pre>

python package virtualenv