Forums

unsure how to get this flask thing to work

i cannot seem to get this to work, I have to use python 3.8 because that's what the version I'm moving from amazon, (with all its requirements) used. i don't have the team to upgrade the whole script and its temporary anyway...

error i'm getting 2023-11-06 05:24:00,717: Error running WSGI application 2023-11-06 05:24:00,719: ModuleNotFoundError: No module named 'firebase_admin' 2023-11-06 05:24:00,719: File "/var/www/share-thedevs_pythonanywhere_com_wsgi.py", line 16, in <module> 2023-11-06 05:24:00,719: from app import app as application # noqa 2023-11-06 05:24:00,720: 2023-11-06 05:24:00,720: File "/home/thedevs/crimedoor/share/app.py", line 4, in <module> 2023-11-06 05:24:00,720: import firebase_admin

now, in my env, firebase_admin is definitely installed. so maybe its not using my env?

There is a problem with your virtualenv setup. Look at the virtualenv section below for details.

/home/thedevs/.virtualenvs/crimedoorenv This virtualenv seems to have the wrong Python version (3.8 instead of 3.10).

i'm not sure why this would be too big of a problem.

how can i get past this?

nevermind got it to work by updating it all

Glad to hear that!