I have deployed a python code in Google App Engine.In my code,tried to import firebase_admin,but it shows following error,
import firebase_admin
ImportError: No module named firebase_admin
hello.py
import firebase_admin
from firebase_admin import credentials
from firebase_admin import db
I tried simple python code using Terminal: hello.py
import firebase_admin
print firebase_admin
Output in terminal:
~/Desktop$ python hello.py
<module 'firebase_admin' from '/usr/local/lib/python2.7/dist-packages/firebase_admin/__init__.pyc'>
pip install firebase-admin
– Scraggypython
and enterimport firebase_admin
or just one of the lines above. If it works, it's Pycharm's fault. – Scraggy