User manual

Ausgabe 07.12.2016 Copyright by Joy-IT 22
3
RPi - Explorer700
13.3 Install Python Library
Python Libraries for Raspbian (contain RPi.GPIO and spidev installaon packages. See: hps://
pypi.python.org/pypi/RPi.GPIO hps://pypi.python.org/pypi/spidev ) get it by apt-get commands.
Please take a note, your Raspberry Pi should be connected to the network when using the command
apt-get to install the library. Before the installaon, you can run the following command to update
your soware list.
1. Run the following command to install the package python-dev
2. Installing the RPi.GPIO package (GPIO interface funcons). Copy the installaon package
RPi.GPIO to your RPi board, and unzip it. Enter the unzipped le under the terminal, and run
the following command to install the library:
3. Run the following command to install the library smbus (I2C interface funcons)
4. Run the following command to install the library serial, which contains UART interface
funcons
5. Installing the library spidev (SPI funcons). Copy the installaon package spidev to your RPi
board, and unzip it. Enter the unzip le under the terminal, and run the following command to
install the library:
sudo python setup.py install
sudo apt-get install python-smbus
sudo python setup.py install
sudo apt-get install python-dev
sudo apt-get update
sudo apt-get install python-serial