Everything works fine until this:
$ cd pycrypto-2.6 $ python setup.py install
This is the output:
running install running build running build_py running build_ext running build_configure warning: GMP or MPIR library not found; Not building Crypto.PublicKey._fastmath. running install_lib creating /usr/local/lib/python2.7/dist-packages/Crypto error: could not create '/usr/local/lib/python2.7/dist-packages/Crypto': Permission denied
What is the best solution to install Pycrypto on Ubuntu 12? i need it for Twisted python modules. Thank you!