Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/339.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 为什么启动firebase项目会出现错误?_Python_Python 3.x_Database_Firebase_Firebase Realtime Database - Fatal编程技术网

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

我编写了一个非常简单的脚本(Python)从GoogleFirebase加载数据。为此,我在我的Raspberry上下载了firebase和SudoPip安装python firebase。但当我启动脚本时,我得到了以下信息:

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)?是否有人知道解决方案或有相同的问题

提前谢谢