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

Got ModuleNotFoundError on execute airflow initdb command #8880

Closed
rafaelreuber opened this issue May 15, 2020 · 2 comments
Closed

Got ModuleNotFoundError on execute airflow initdb command #8880

rafaelreuber opened this issue May 15, 2020 · 2 comments
Labels
kind:bug This is a clearly a bug

Comments

@rafaelreuber
Copy link

I just tried to follow quick start and I got the following error on execute the command airflow initdb

[reuber@stormy teste]$ airflow initdb
Traceback (most recent call last):
  File "/usr/local/bin/airflow", line 26, in <module>
    from airflow.bin.cli import CLIFactory
  File "/usr/local/lib/python3.8/site-packages/airflow/bin/cli.py", line 79, in <module>
    api_module = import_module(conf.get('cli', 'api_client'))  # type: Any
  File "/usr/lib64/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "/usr/local/lib/python3.8/site-packages/airflow/api/client/local_client.py", line 24, in <module>
    from airflow.api.common.experimental import delete_dag
  File "/usr/local/lib/python3.8/site-packages/airflow/api/common/experimental/delete_dag.py", line 25, in <module>
    from airflow.models.serialized_dag import SerializedDagModel
  File "/usr/local/lib/python3.8/site-packages/airflow/models/serialized_dag.py", line 32, in <module>
    from airflow.serialization.serialized_objects import SerializedDAG
  File "/usr/local/lib/python3.8/site-packages/airflow/serialization/serialized_objects.py", line 37, in <module>
    from airflow.serialization.json_schema import Validator, load_dag_schema
  File "/usr/local/lib/python3.8/site-packages/airflow/serialization/json_schema.py", line 26, in <module>
    from typing_extensions import Protocol
ModuleNotFoundError: No module named 'typing_extensions'

I'm using the Fedora 32 (linux) 64 Bits and Python 3.8.2

@rafaelreuber rafaelreuber added the kind:bug This is a clearly a bug label May 15, 2020
@boring-cyborg
Copy link

boring-cyborg bot commented May 15, 2020

Thanks for opening your first issue here! Be sure to follow the issue template!

@potiuk
Copy link
Member

potiuk commented May 15, 2020

Python 3.8 is not yet officially supported. There is a PR in progress #8674

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:bug This is a clearly a bug
Projects
None yet
Development

No branches or pull requests

2 participants