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

time.clock() error #2

Open
nubonics opened this issue Aug 21, 2020 · 1 comment
Open

time.clock() error #2

nubonics opened this issue Aug 21, 2020 · 1 comment

Comments

@nubonics
Copy link

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

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

2 participants
@nubonics and others