question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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:closed
  • Created 6 years ago
  • Reactions:2
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
carsongeecommented, Mar 8, 2018

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

0reactions
hiranya911commented, Mar 8, 2018

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found