ericmagnuson / rmcontrol

RM Control — A python app to control an RM2 from BroadLink.
MIT License
34 stars 5 forks source link

Python-dev had to be installed #9

Closed luketoh closed 7 years ago

luketoh commented 7 years ago

When executing

pip install pycrypto

there was an error that prevented me from getting pycrypto installed. Something about

warning: GMP or MPIR library not found; Not building Crypto.PublicKey._fastmath. src/MD2.c:31:20: fatal error: Python.h: No such file or directory

I searched the net for a reason why and it was suggested that I had to install Python-dev

sudo apt-get install python-dev

after that, I ran pip install pycrypto again and it worked.

ericmagnuson commented 7 years ago

Great to know! Thanks for providing this info. I will update the readme accordingly.