jobin-sun / raspberry-gpio-python

Automatically exported from code.google.com/p/raspberry-gpio-python
MIT License
0 stars 0 forks source link

Installation fails - missing dependency python-dev #24

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Missing dependency on python-dev prevents installation
(New to Python so I don't know if this is a real defect or if there is any way 
to fix it: reporting for sake of completeness) 

Original issue reported on code.google.com by dandroi...@googlemail.com on 28 Feb 2013 at 5:12

GoogleCodeExporter commented 9 years ago
On Raspbian,  the latest release is already installed, so you are not likely to 
need to build and install from source. Python-dev is only a dependency when you 
want to build Python packages from source.

To install the Raspbian package anyway:
$ sudo apt-get install python-rpi.gpio python3-rpi.gpio

To upgrade to the latest version in Raspbian:
$ sudo apt-get update
$ sudo apt-get dist-upgrade

If you want to install from source anyway:
$ sudo apt-get install python-dev

Original comment by btcros...@googlemail.com on 28 Feb 2013 at 5:27