Chromatica stopped working after python package update(to version 3.8.0-1).
This was the error:
AttributeError: module 'time' has no attribute 'clock'
Quick internet search showed that this is the reason for the error:
The function time.clock() has been removed, after having been deprecated since Python 3.3: use time.perf_counter() or time.process_time() instead, depending on your requirements, to have well-defined behavior. (Contributed by Matthias Bussonnier in bpo-36895.)
As stated, I changed clock() with perf_counter() and it fixed the issue.
I don't know if this is the proper fix or not, so I decided to open it as an issue.
Chromatica stopped working after python package update(to version 3.8.0-1).
This was the error:
Quick internet search showed that this is the reason for the error:
As stated, I changed
clock()
withperf_counter()
and it fixed the issue. I don't know if this is the proper fix or not, so I decided to open it as an issue.