Python 为什么启动firebase项目会出现错误?
我编写了一个非常简单的脚本(Python)从GoogleFirebase加载数据。为此,我在我的Raspberry上下载了firebase和SudoPip安装python firebase。但当我启动脚本时,我得到了以下信息:Python 为什么启动firebase项目会出现错误?,python,python-3.x,database,firebase,firebase-realtime-database,Python,Python 3.x,Database,Firebase,Firebase Realtime Database,我编写了一个非常简单的脚本(Python)从GoogleFirebase加载数据。为此,我在我的Raspberry上下载了firebase和SudoPip安装python firebase。但当我启动脚本时,我得到了以下信息: Traceback (most recent call last): File"...", line 2, in <module> from firebase import firebase File"/usr/l
Traceback (most recent call last):
File"...", line 2, in <module>
from firebase import firebase
File"/usr/local/python3.7/dist-packages/firebase/__init__.py", line 3
from .async import process_pool
SyntaxError: invalid syntax
回溯(最近一次呼叫最后一次):
文件“…”,第2行,在
从firebase导入firebase
文件“/usr/local/python3.7/dist-packages/firebase/_-init__.py”,第3行
从.async导入进程\u池
SyntaxError:无效语法
我写的脚本肯定不是问题所在,因为我从互联网上获得了它,在不同的页面上发现了相同的代码
我在互联网上进行了研究,但没有找到解决这个问题的真正办法。我在一页上读到它可能与Python版本(3.7.3)有关。。。你认为这可能吗?我忘了下载其他东西了吗(我只下载了上面提到的firebase)?是否有人知道解决方案或有相同的问题
提前谢谢