I have a problem with flask_login module.
i have installed flask_login module successfully. Also from the command prompt i can run this script easily with no error:
This is an environment error -- whatever IDE you're using doesn't have the PYTHONPATH set properly. You can test this out by creating a small test file: test.py, with the following contents:
from os import environ
print environ.get('PYTHONPATH')
If the PYTHONPATH doesn't contain the directory that holds your Flask-Login package, then that's the issue.