How to import a globally installed package to virtualenv folder

--system-site-packages

gives access to the global site-packages modules to the virtual environment.

you could do:

$ sudo apt-get install python-m2crypto
$ virtualenv env --system-site-packages

… and you would then have access to m2crypto (along with all other system-wide installed packages) inside your virtualenv.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)