Ensure You Are Using the Correct Python Interpreter
import sys print(sys.executable)
Then, compare this with the output of the same command in your standalone script (fran_log_in.py):
fran_log_in.py