sudo apt-get install build-essential python-pip python-dev i2c-tools python-smbus telnet git -y
This will updated your raspberry pi with necessary software. Make sure the date and time is set properly.
This library established serial connection via i2c.
cd ~
git clone https://github.com/uutzinger/Adafruit_Python_PureIO.git
cd Adafruit_Python_PureIO
sudo python setup.py install
This library enables i2c on top of pureio libary.
cd ~
git clone https://github.com/uutzinger/Adafruit_Python_GPIO.git
cd Adafruit_Python_GPIO
sudo python setup.py install
cd ~
This library will provide the necessary commands to obtain calibrated data from the HTU21D sensor.
git clone
https://github.com/uutzinger/Python_HTU21D.gitcd Python_HTU21D
sudo python setup.py install
sudo ldconfig
cd ~
git clone https://github.com/adafruit/Adafruit_Python_BMP.git
cd Adafruit_Python_BMP
sudo python setup.py install
sudo ldconfig