$sudo pip3 install m2crypto
Collecting m2crypto
Using cached M2Crypto-0.26.0.tar.gz
Requirement already satisfied: typing in /usr/local/lib/python3.5/dist-packages (from m2crypto)
Installing collected packages: m2crypto
Running setup.py install for m2crypto ... error
Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-ejd_4lk_/m2crypto/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-ecxgdei0-record/install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_py
copying M2Crypto/BIO.py -> build/lib.linux-x86_64-3.5/M2Crypto
copying M2Crypto/DH.py -> build/lib.linux-x86_64-3.5/M2Crypto
copying M2Crypto/Rand.py -> build/lib.linux-x86_64-3.5/M2Crypto
copying M2Crypto/ftpslib.py -> build/lib.linux-x86_64-3.5/M2Crypto
copying M2Crypto/m2.py -> build/lib.linux-x86_64-3.5/M2Crypto
copying M2Crypto/m2xmlrpclib.py -> build/lib.linux-x86_64-3.5/M2Crypto
copying M2Crypto/callback.py …
Run Code Online (Sandbox Code Playgroud)