我已经部署在谷歌应用程序Engine.In我的代码Python代码,试图导入firebase_admin,但它显示了以下错误,Python的火力地堡问题上没有模块名为firebase_admin
import firebase_admin
ImportError: No module named firebase_admin
hello.py
import firebase_admin
from firebase_admin import credentials
from firebase_admin import db
我想简单的Python代码使用终端: hello.py
import firebase_admin
print firebase_admin
输出端子:
~/Desktop$ python hello.py
<module 'firebase_admin' from '/usr/local/lib/python2.7/dist-packages/firebase_admin/__init__.pyc'>
您是否安装了包装? 'pip install firebase-admin' – Thomas
@ThomasMey是的,我安装了sudo pip install firebase-admin ...它成功安装了..但仍然出现这个错误... – Ramprasad
@ThomasMey我在我的Linux中使用PyCharm ...是的在本地机器上安装firebase-admin的任何问题? – Ramprasad