I2C library for Raspberry Pi

How to install I2C library

To Use I2C devices on your Raspberry Pi, you will need I2C communication library. There are several libraries, however it is recommended to use following:
https://pypi.python.org/pypi/OpenElectrons_i2c

To install this library on your Pi, run following commands on your Pi:
 apt-get install python-smbus
pip install OpenElectrons_i2c

If you need pip, install it using following command:
apt-get install python-pip