Skip to content

Commit 91bb131

Browse files
Add dependency: smbus2
Fixes: ```python >>> import bme680 >>> sensor = bme680.BME680(bme680.I2C_ADDR_PRIMARY) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/local/lib/python3.7/dist-packages/bme680/__init__.py", line 22, in __init__ import smbus ModuleNotFoundError: No module named 'smbus' ```
1 parent 7e6bdd0 commit 91bb131

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

library/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,5 +50,5 @@
5050
classifiers=classifiers,
5151
packages=['bme680'],
5252
py_modules=[],
53-
install_requires=[]
53+
install_requires=['smbus2']
5454
)

0 commit comments

Comments
 (0)