Paramiko on Ubuntu 10.04: GMP or MPIR library not found

Getting the following error when trying to install paramiko on Ubuntu 10.04 (python 2.6.5) with pip – because of pycrypto dependancy:

warning: GMP or MPIR library not found; Not building Crypto.PublicKey._fastmath

Googling this problem leads to lots of results from Mac users, not to much from Ubuntu users. I don’t have this issue on Ubuntu 11.04 (python 2.7), so I assume it’s the python version.

To fix:

apt-get install python-dev

Then try again!

Leave a Reply

Your email address will not be published. Required fields are marked *