setup.py imports firebase_admin which requires six
See original GitHub issue[REQUIRED] Step 2: Describe your environment
- Operating System version: MacOS 10.13
- Firebase SDK version: 2.9.0
- Library version: 2.9.0
- Firebase Product: any
[REQUIRED] Step 3: Describe the problem
If you don’t already have python six installed, you can’t install firebase
Steps to reproduce:
pip install .
Relevant Code:
setup.py has: import firebase_admin
and firebase_admin.__init__.py
has import six
so if it isn’t installed before installing the installation fails with:
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/private/var/folders/rh/fs2krkgj1hz_2ftgxgl20d980000gn/T/pip-mpnc1wob-build/setup.py", line 24, in <module>
import firebase_admin
File "/private/var/folders/rh/fs2krkgj1hz_2ftgxgl20d980000gn/T/pip-mpnc1wob-build/firebase_admin/__init__.py", line 21, in <module>
import six
ModuleNotFoundError: No module named 'six'
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Firebase Admin Python SDK Release Notes - Google
Firebase Admin Python SDK Release Notes · On this page · Version 6.0.1 - 17 October, 2022 · Version 6.0.0 - 06 October,...
Read more >Unable to import database module from firebase_admin
... the location of the package by taping the following commands in python interpreter from requests.packages import urllib3 print (urllib3.
Read more >firebase-admin - PyPI
pip install firebase-admin ... Admin Python SDK enables server-side (backend) Python developers to integrate Firebase into their services and applications.
Read more >fcm-django — fcm-django 1.0.7 documentation
Finally, in your settings.py (or whatever imported file), add: ... The API for sending messages is now under the firebase-admin package; hence, ...
Read more >firebase-admin-python sdk on app engine - Google Groups
pip install -t lib/ firebase-admin. I noticed that it has *.pyc files, which doesn't support from google. Also, when I try to import...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Fair enough, but at least this is here if someone else needs to install from the latest, a git tag, a fork 😉 , etc and this is just a dependency
Install from source is a low priority for us. I think it’s fair to ask developers to run
pip install -r requirements.txt
before attempting that.