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

Python 3.8 : ImportError: cannot import name 'clock' from 'time' #107

Open
codeg8 opened this issue Mar 22, 2023 · 1 comment
Open

Python 3.8 : ImportError: cannot import name 'clock' from 'time' #107

codeg8 opened this issue Mar 22, 2023 · 1 comment

Comments

@codeg8
Copy link

codeg8 commented Mar 22, 2023

Library not working with Python 3.8 .

@fderyckel
Copy link
Contributor

YEs, I am having the same issues.
It comes from some deprecated libraries.

"time.clock is a method that has been deprecated since Python 3.3 and removed from Python 3.8 (see the Python 3.7 time documentation for more information), because its behaviour was dependent on the platform (it behaved differently on Unix compared to Windows). As the documentation suggests, you should use time.perf_counter() or time.process_time() instead. These are subtly different, see this Stack Overflow question for more details."
here: https://stackoverflow.com/questions/65499013/importerror-cannot-import-name-clock-from-time-unknown-location

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