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

ImportError: cannot import name 'clock' from 'time' (unknown location) #4280

Closed
MohsenWaleed opened this issue Dec 20, 2019 · 3 comments
Closed

Comments

@MohsenWaleed
Copy link

time.clock was removed in python/cpython#13270 but Pillow still using it and the cause the below error:

ImportError: cannot import name 'clock' from 'time' (unknown location)

@MohsenWaleed
Copy link
Author

Sorry the error come from passlib lib

@4lightyears
Copy link

@MohsenWaleed How did you deal with the passlib error? Turns out I am using passlib too and it's causing me trouble.

@4lightyears
Copy link

Oh, turns out it was a passlib version issue. Upgrading to the version 1.7.2 fixed the issue.

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