You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Displays readings from all of Enviro plus' sensors
Press Ctrl+C to exit!
Traceback (most recent call last):
File "enviroplus-python/examples/all-in-one.py", line 143, in
cpu_temp = get_cpu_temperature()
File "enviroplus-python/examples/all-in-one.py", line 96, in get_cpu_temperature
return float(output[output.index('=') + 1:output.rindex("'")])
TypeError: argument should be integer or bytes-like object, not 'str'
The text was updated successfully, but these errors were encountered:
Displays readings from all of Enviro plus' sensors
Press Ctrl+C to exit!
Traceback (most recent call last):
File "enviroplus-python/examples/all-in-one.py", line 143, in
cpu_temp = get_cpu_temperature()
File "enviroplus-python/examples/all-in-one.py", line 96, in get_cpu_temperature
return float(output[output.index('=') + 1:output.rindex("'")])
TypeError: argument should be integer or bytes-like object, not 'str'
The text was updated successfully, but these errors were encountered: