sudo apt-get install build-essential python-pip python-dev i2c-tools python-smbus telnet git -yThis 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.gitcd Adafruit_Python_PureIOsudo python setup.py installThis library enables i2c on top of pureio libary.
cd ~git clone https://github.com/uutzinger/Adafruit_Python_GPIO.gitcd Adafruit_Python_GPIOsudo python setup.py installcd ~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_HTU21Dsudo python setup.py installsudo ldconfigcd ~git clone https://github.com/adafruit/Adafruit_Python_BMP.gitcd Adafruit_Python_BMPsudo python setup.py installsudo ldconfig