以下是一个错误:
MacBook-Air:Firebase takeyuki$ python -m pip install --upgrade firebase-admin
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
... some lines are omitted ...
Installing collected packages: futures, googleapis-common-protos, grpcio, google-api-core, uritemplate, httplib2, google-auth-httplib2, google-api-python-client, google-cloud-core, google-resumable-media, google-cloud-storage, google-cloud-firestore, msgpack, cachecontrol, firebase-admin
Found existing installation: futures 3.0.3
Cannot uninstall 'futures'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
这条消息提到期货模块似乎不属于pip,但是
MacBook-Air:Firebase takeyuki$ python -m pip list | grep futures
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
futures 3.0.3
那我怎么才能修好呢?谢谢你的建议!
发布于 2022-11-11 17:02:11
我遇到了一个类似的问题。当我在Thonny上安装firebase_admin 5.4.0时,一切正常。因此,要在您的机器上安装它,只需回滚到该版本。我使用sudo pip3安装firbase_admin==5.4.0
https://stackoverflow.com/questions/60333183
复制相似问题