尝试将 firebase 连接到我的项目,但在 pyrebase 中安装错误并导入 pyrebase 错误
Trying to connect firebase to my project but installing error in pyrebase and import pyrebase error
我正在尝试使用 python firebase.google.com 并将我的项目连接到我根据文档安装的 python 文件 pyrebase4 我我什么都做完了
我遇到过很多问题,比如
在 python 文件中导入 pyrebase 时出现如下错误
其次,当我尝试安装 pyrebase 时,出现类似
的错误
Installation error with pycryptodome
(and a lots of line with after this )
来自github的人提供指导
pip install pyrebase4
pip install pyrebase-t
pip install pycryptodome
但 pycryptodome 也已成功安装,但在
中出现错误
pip install pyrebase-t
错误类似于
Attempting uninstall: requests
Found existing installation: requests 2.11.1
Uninstalling requests-2.11.1:
Successfully uninstalled requests-2.11.1
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed.
This behaviour is the source of the following dependency conflicts.
pyrebase4 4.4.3 requires oauth2client>=4.1.2, but you have oauth2client 3.0.0 which is incompatible.
pyrebase-t 1.0.28 requires requests==2.11.1, but you have requests 2.25.1 which is incompatible.
Successfully installed requests-2.25.1
首先通过运行此命令
卸载pyrebase
、pyrebase4
、pyrebase-t
或pycryptodome
pip uninstall pyrebase, pyrebase4, pyrebase-t, pycryptodome
然后通过运行以下命令重新安装pycryptodome
pip install pycryptodome
之后通过 运行 下面的命令安装 pyrebase4
pip install pyrebase4
希望这能像解决我的问题一样解决问题。
我正在尝试使用 python firebase.google.com 并将我的项目连接到我根据文档安装的 python 文件 pyrebase4 我我什么都做完了
我遇到过很多问题,比如
在 python 文件中导入 pyrebase 时出现如下错误
其次,当我尝试安装 pyrebase 时,出现类似
的错误Installation error with pycryptodome
(and a lots of line with after this )
来自github的人提供指导
pip install pyrebase4
pip install pyrebase-t
pip install pycryptodome
但 pycryptodome 也已成功安装,但在
中出现错误pip install pyrebase-t
错误类似于
Attempting uninstall: requests
Found existing installation: requests 2.11.1
Uninstalling requests-2.11.1:
Successfully uninstalled requests-2.11.1
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed.
This behaviour is the source of the following dependency conflicts.
pyrebase4 4.4.3 requires oauth2client>=4.1.2, but you have oauth2client 3.0.0 which is incompatible.
pyrebase-t 1.0.28 requires requests==2.11.1, but you have requests 2.25.1 which is incompatible.
Successfully installed requests-2.25.1
首先通过运行此命令
卸载pyrebase
、pyrebase4
、pyrebase-t
或pycryptodome
pip uninstall pyrebase, pyrebase4, pyrebase-t, pycryptodome
然后通过运行以下命令重新安装pycryptodome
pip install pycryptodome
之后通过 运行 下面的命令安装 pyrebase4
pip install pyrebase4
希望这能像解决我的问题一样解决问题。