TypeError: __init__ () got an unexpected keyword argument What to do with'status'

Introduction

When using firebase with python

error contents


TypeError: __init__() got an unexpected keyword argument 'status'

I encountered the above error, so I will keep a record of the solution.

Solution

The following command is as follows.

Solution


pip uninstall requests
pip install requests==2.23.0
pip install firebase_admin

I was able to solve it with the above command. For 2.23.0, specify the latest version of requests.

This is a GitHub article that I referred to this time. Please refer to it for more details. https://github.com/firebase/firebase-admin-python/issues/262

We hope for your reference.

Recommended Posts

TypeError: __init__ () got an unexpected keyword argument What to do with'status'
Resolve TensorFlow TypeError: __init __ () got an unexpected keyword argument'syntax' on Mac
I got an unfamiliar error in Django: TypeError: resolve () got an unexpected keyword argument'strict'
TypeError: concat () got an unexpected keyword argument'join_axes' when using pandas_profling (Google Colab)
What to do if PyInstaller3.5 gives an error in Python3.8 (TypeError: an integer is required (got type bytes))
[Go 1.13] What to do when unexpected directory layout: appears
TypeError: unsupported operand type (s) for-: What to do when'datetime.time'and'datetime.time'
What to do when an error occurs with import _ssl
[Beanstalk] What to do when an error occurs with import uuid
What to do when Ubuntu crashes
What to do if yum breaks
What to do with Magics install
What to do with PYTHON release?
What to do to get tensorflow-gpu to work
What to do if you couldn't send an email to Yahoo with Python.
What to do when pyinstaller: error: argument --add-binary: invalid add_data_or_binary value: appears
What to do if pyenv install does not proceed with an error
[Python] What to do when an error related to SSL authentication is returned
What to do if an error occurs when importing numpy with VScode
What to do if you get a TypeError with numpy min, max
What to do if you get an error when trying to load mnist
What to do if you get an error when installing Dlib (Ubuntu)
[OSX] [pyenv] What to do when an SSL error occurs in pip
What to do when psycopg2 throws an error when pipenv lock under Pipenv environment