-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
I tired to run Python examples but for all of them I received error
12.48inch e-paper B Demo...
EPD init...
set wiringPi lib success !!!
clearing...
Traceback (most recent call last):
File "/home/pi/eink2/12.48inch_e-Paper_Module_Code/python/examples/epd_12in48B_test.py", line 29, in <module>
epd.clear()
File "/home/pi/eink2/12.48inch_e-Paper_Module_Code/python/lib/epd12in48b.py", line 231, in clear
start = time.clock()
AttributeError: module 'time' has no attribute 'clock'
Looks like your epd12in48b.py driver is not compatible with latest python. Based on replies in
https://stackoverflow.com/questions/58569361/attributeerror-module-time-has-no-attribute-clock-in-python-3-8
time.clock() was removed in 3.8 Python version
Metadata
Metadata
Assignees
Labels
No labels