If following does not work:
from flask.ext.login import current_user
try the following:
from flask_login import current_user
This is the new convention.
To find the flask-login version, you can run the following command in terminal. Just change the name to know the version of other packages.
pip show flask-login