pimoroni / bme280-python

Python library for the BME280 temperature, pressure and humidity sensor
https://shop.pimoroni.com/products/bme280-breakout
MIT License
65 stars 25 forks source link

Updating pip command to bring in smbus too. #9

Closed ptorru closed 4 years ago

ptorru commented 4 years ago

Had to do this on a fresh install of :

Raspbian Buster Lite Version: February 2020 Release date: 2020-02-13 Kernel version: 4.19 SHA-256: 12ae6e17bf95b6ba83beca61e7394e7411b45eba7e6a520f434b0748ea7370e8

Tested on a raspberry pi zero-w

Hope it is useful :)

Gadgetoid commented 4 years ago

Thank you!

I tend to be a little apprehensive about pulling smbus from PyPI since there's a "more correct" (frequently maintained?) package in apt. If it works, though, it's worth rolling with. Might break horribly on Python 3.6+ since there's no ".whl" package released for any version newer than 3.5 and I don't know how much we can lean on PiWheels for that.

ptorru commented 3 years ago

Great to see it through! happy to help :)