I started a project in Pyton 3. I use Tkinter to make a graphical interface of my project. I use a Raspberry. I want to use 1-wire to control sensors, so I use owfs with i2c.
After exchanging wih someone, he told me that Python 3 did not use the right way to find "ow".
Then I decided to try Python 2 and it seems to work. A different error appears.
I use this code for test :
import ow ow.init('localhost4304')for sensor in sensorlist: print('Device Found') print('Address:' + sensor.address) print('Family:' + sensor.family) print('ID:' + sensor.id) print('Type:' + sensor.type) print('')
In Python 2 the error comes from ow.init line 224 "Raise exNoController".
My problem is that I want to use "ow" in python 3 but i can't access it. Do you have an idea to solve my problem ?
Maybe I've to use : python3 -m pip install ****** ? I should replace the stars by ?
Thanks,
-K