Install m2crypto on a virtualenv without system packages
m2crypto, python, ubuntu, virtualenv
Solution
You can install this lib in your global environment and then just copy from your global site-packages to virtualenv.
Problem
I have created a virtual environment without the system packages with python's virtualenv in Ubuntu and installed m2crypto, but when I execute a shell and I try to import M2Crypto i get the following error: ``` ImportError: /home/imediava/.virtualenvs/myenv/local/lib/python2.7/site- packages/M2Crypto/__m2crypto.so: undefined symbol: SSLv2_method ``` From outside the environment I run into the same problem unless from ubuntu I install python-m2crypto with apt-get. I know that I could create the environment with the system packages but I would prefer not to do it. Is there anyway that I could create a virtual environment without the system packages and then install m2crypto with pip without running into the SSLv2_method?