Skip to content

time.clock() error #2

Description

@nubonics

Please update time.clock to time.pref_counter() as time.clock() has been depreciated from python 3.3 forward
reason it was depreciated was due to its lack of cross compatibly.

source of solution: https://stackoverflow.com/questions/58569361/attributeerror-module-time-has-no-attribute-clock-in-python-3-8

short version

change line 20 start = time.clock()

to this

start = time.time()

or this

start = time.perf_counter()

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