Posts: 19
Joined: Wed Jun 24, 2015 7:34 am

How to install python-dev offline

Wed Jun 24, 2015 9:15 am


I am new to Raspberry pi and also for the Linux and python environments. I want to use SPI interface from Pi.

I tried installing SpiDev Python module, but failed with an error : python.h is not found. I understand that i need this file for compiling spidev_module.c.

I read from sources that i need to install python-dev to get python.h. But, I want to install the packages by downloading from Internet. For some reasons, I am not allowed to connect Pi to Internet.

Can anyone guide me, where i can find the required downloads for SPI and procedure to install them on Pi?

Thank you for the support

Return to “Python”