Instructions

Ausgabe 22.09.2017 Copyright by Joy-IT 21
3
RPi - Explorer700
12.3 Python Library
You can receive the python libraries for Raspbian (contains RPi, GPIO and spidev) by using the apt-get
command.
Please note that your Raspberry Pi needs to be connected to the internet to install the libaries. Use the
following command the make sure that you are going to receive the latest packages.
Enter the following command to install the python-dev package:
Now you can install the package:
Enter the following command to install the smbus library (I2C Interface):
Install the serial library which contains the funcons for the UART interface:
Copy the spidev installaon package to your system. Enter the folder and install the library:
sudo apt-get update
sudo apt-get install python-dev
sudo python setup.py install
sudo apt-get install python-smbus
sudo apt-get install python-serial
sudo python setup.py install