Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: module 'time' has no attribute 'clock' #56

Open
matthhong opened this issue Sep 24, 2020 · 2 comments
Open

AttributeError: module 'time' has no attribute 'clock' #56

matthhong opened this issue Sep 24, 2020 · 2 comments

Comments

@matthhong
Copy link

matthhong commented Sep 24, 2020

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()
@matthhong
Copy link
Author

Oh, I see this has been addressed here: #54

Weird... I installed version 0.811, which should have the above merges

@matthhong
Copy link
Author

matthhong commented Sep 24, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant