LoginSignup
2
1

More than 3 years have passed since last update.

TypeError: __init__() got an unexpected keyword argument 'status'の対処方法

Last updated at Posted at 2020-04-14

はじめに

firebaseをpythonで使用する際、

エラー内容
TypeError: __init__() got an unexpected keyword argument 'status'

上記エラーに遭遇したため、解決方法を記録として残しておきます。

解決方法

下記コマンドは以下の通りです。

解決方法
pip uninstall requests
pip install requests==2.23.0
pip install firebase_admin

上記コマンドで解決できました。
2.23.0のところはrequestsの最新バージョンを指定してください。

今回参考にしたGitHubの記事です。
より詳細に記載がりますので、よろしければご参照ください。
https://github.com/firebase/firebase-admin-python/issues/262

ご参考になれば幸いです。

2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1