opcua-client-gui
opcua-client-gui copied to clipboard
module 'time' has no attribute 'clock' in Python 3.8
can not start opcua-client on windows with python 3.8
error:
...................
from . import ptime
File "c:\users\vlazarev\appdata\local\programs\python\python38-32\lib\site-packages\pyqtgraph\ptime.py", line 24, in
I think that here some info about this error: https://stackoverflow.com/questions/58569361/attributeerror-module-time-has-no-attribute-clock-in-python-3-8
had the same problem, solved it the "dirty way" by editing ptime.py, replacing systime.clock() with systime.perf_counter() on lines 16 and 24 since ptime.py won't work with Python 3.8 anyway as it is now