[Answer]-Virtualenv PyCrypto cannot import Crypto modular

1👍

When you use sudo it runs as root and installs in the system directories. You want to run it as your regular user while you are inside your virtualenv:

source medweb-env/bin/activate
pip install pycrypto==2.6
👤D.A

Leave a comment