Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No module named 'firebase_auth' --> Newly Created Projects #723

Closed
raziakhan0810 opened this issue Sep 23, 2023 · 2 comments
Closed

No module named 'firebase_auth' --> Newly Created Projects #723

raziakhan0810 opened this issue Sep 23, 2023 · 2 comments

Comments

@raziakhan0810
Copy link

It's my newly created project to do POC on firebase-admin for social login in django/django drf
I created everything freshly.

  1. new virtualenv
  2. new project
  3. installed these packages only, it's installed successfully (no issues while installing):
    --pip install firebase-admin
    --pip install djangorestframework-firebase
    --pip install djangorestframework
    --pip install markdown
    --pip install django-filter # Filtering support
    --pip install django
  4. configures settings.py as per documentation
    https://pypi.org/project/firebase-admin/#description
    https://pypi.org/project/djangorestframework-firebase/
    https://firebase.google.com/docs/admin/setup
    https://github.com/firebase/firebase-admin-python/issues
    Geeting lots of issues when trying to install firebase-admin in my existing project, after installing also it's throwing error. #722
  5. while running I am getting No module found error

python: 3.9.13
pip: 23.2.1

packages installed:


asgiref==3.7.2
CacheControl==0.13.1
cachetools==5.3.1
certifi==2023.7.22
charset-normalizer==3.2.0
Django==4.2.5
django-environ==0.11.2
django-filter==23.3
djangorestframework==3.14.0
djangorestframework-firebase==0.3.0
firebase-admin==2.18.0
google-api-core==1.34.0
google-api-python-client==2.100.0
google-auth==2.23.0
google-auth-httplib2==0.1.1
google-cloud-core==2.3.3
google-cloud-firestore==2.12.0
google-cloud-storage==2.11.0
google-crc32c==1.5.0
google-resumable-media==2.6.0
googleapis-common-protos==1.60.0
grpcio==1.58.0
grpcio-status==1.48.2
httplib2==0.22.0
idna==3.4
importlib-metadata==6.8.0
Markdown==3.4.4
msgpack==1.0.6
proto-plus==1.22.3
protobuf==3.20.3
pyasn1==0.5.0
pyasn1-modules==0.3.0
pyparsing==3.1.1
pytz==2023.3.post1
requests==2.31.0
rsa==4.9
six==1.16.0
sqlparse==0.4.4
typing_extensions==4.8.0
tzdata==2023.3
uritemplate==4.1.1
urllib3==1.26.16
zipp==3.17.0

image

@google-oss-bot
Copy link

I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.

@lahirumaramba
Copy link
Member

It looks like you are having issues with your python environment. Try using pip3 to install the packages pip3 install firebase-admin. See: https://stackoverflow.com/questions/45553501/python-firebase-issue-no-module-named-firebase-admin

In the future, please use StackOverflow for usage questions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants