Have the touchphat python library use smbus2 instead of python3-smbus


#1

i just started working on setting up my touchphat with a a rpi 3. now, many hours later and a few reinstallations, i have just learned the python3-smbus only works with python 3.4.2. smbus2 however works with higher versions of python.

is there a way for the touchphat library to use smbus2 as its dependency so as to avoid the ModuleNotFoundError when using python3-smbus?

hope someone can help thanks.


#2

Are you attempting to use Python 3.5.x on Jessie? An upgrade to Stretch should fix this.