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

Problem Installing firebase-admin Python 3.9 #499

Closed
RaymonDev opened this issue Nov 3, 2020 · 1 comment
Closed

Problem Installing firebase-admin Python 3.9 #499

RaymonDev opened this issue Nov 3, 2020 · 1 comment

Comments

@RaymonDev
Copy link

[REQUIRED] Step 2: Describe your environment

  • Operating System version: Windows 10 Python 3.9
  • Firebase SDK version: _____
  • Library version: Latest
  • Firebase Product: Realtime database

[REQUIRED] Step 3: I can't install the firebase-admin library

Relevant Code:

Traceback (most recent call last):
File "c:\users\propietario\appdata\local\programs\python\python39\lib\runpy.py", line 197, in run_module_as_main
return run_code(code, main_globals, None,
File "c:\users\propietario\appdata\local\programs\python\python39\lib\runpy.py", line 87, in run_code
exec(code, run_globals)
File "C:\Users\Propietario\AppData\Local\Programs\Python\Python39\Scripts\pip.exe_main
.py", line 7, in
File "c:\users\propietario\appdata\local\programs\python\python39\lib\site-packages\pip_internal\cli\main.py", line 73, in main
command = create_command(cmd_name, isolated=("--isolated" in cmd_args))
File "c:\users\propietario\appdata\local\programs\python\python39\lib\site-packages\pip_internal\commands_init
.py", line 96, in create_command
module = importlib.import_module(module_path)
File "c:\users\propietario\appdata\local\programs\python\python39\lib\importlib_init
.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1030, in _gcd_import
File "", line 1007, in _find_and_load
File "", line 986, in _find_and_load_unlocked
File "", line 680, in _load_unlocked
File "", line 790, in exec_module
File "", line 228, in _call_with_frames_removed
File "c:\users\propietario\appdata\local\programs\python\python39\lib\site-packages\pip_internal\commands\install.py", line 24, in
from pip._internal.cli.req_command import RequirementCommand
File "c:\users\propietario\appdata\local\programs\python\python39\lib\site-packages\pip_internal\cli\req_command.py", line 20, in
from pip._internal.operations.prepare import RequirementPreparer
File "c:\users\propietario\appdata\local\programs\python\python39\lib\site-packages\pip_internal\operations\prepare.py", line 16, in
from pip.internal.distributions import (
File "c:\users\propietario\appdata\local\programs\python\python39\lib\site-packages\pip_internal\distributions_init
.py", line 1, in
from pip._internal.distributions.source import SourceDistribution
ImportError: cannot import name 'SourceDistribution' from 'pip.internal.distributions.source' (c:\users\propietario\appdata\local\programs\python\python39\lib\site-packages\pip_internal\distributions\source_init.py)

@lahirumaramba
Copy link
Member

This looks like a known issue in pip 20.0:

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

No branches or pull requests

2 participants