simple_rl
simple_rl copied to clipboard
AttributeError: module 'time' has no attribute 'clock'
From Python docs:
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.
This throws an error:
line 277, in run_agents_on_mdp
start = time.clock()
Oh, I see this has been addressed here: https://github.com/david-abel/simple_rl/pull/54
Weird... I installed version 0.811, which should have the above merges
I've determined that pip install simple-rl using Python 3.8 does not actually have the latest code. The files in the tarbell link also throws this error on Python 3.