Thanks to visit codestin.com
Credit goes to sourceforge.net

Menu

[be8e4d]: / INSTALL.txt  Maximize  Restore  History

Download this file

25 lines (17 with data), 610 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
If you are using Raspbian, all you need to do to install the latest release is:
$ sudo apt-get update
$ sudo apt-get install python-rpi.gpio python3-rpi.gpio
------------
If you are not using Raspbian, it is recommended that you install this module using pip:
$ pip install RPi.GPIO
or
$ pip3 install RPi.GPIO
------------
If you want to build your own version from this downloaded copy, make
sure that you have the Python development source installed first!
On Raspbian:
$ sudo apt-get install python-dev python3-dev
To install the module:
$ python setup.py install
or
$ python3 setup.py install