lingthio / Flask-User

Customizable User Authorization & User Management: Register, Confirm, Login, Change username/password, Forgot password and more.
http://flask-user.readthedocs.io/
MIT License
1.06k stars 292 forks source link

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

Closed UrbanJakubDev closed 4 years ago

UrbanJakubDev commented 4 years ago

In Python 3.8 clock is depricated and doesn't exist in python 3.8.

image

image

Working with from time import perf_counter as timer

Chaostheorie commented 4 years ago

This isn't caused by Flask User but instead by passlib (See traceback file). You may consider upgrading passlib in your venv. If the issue consists open an issue Here