Skip to content

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

@matthhong

Description

@matthhong

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()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions