Skip to content

Conversation

@raphaelauv
Copy link
Contributor

@raphaelauv raphaelauv commented Nov 29, 2020

With a clean venv, only run

pip install apache-airflow[postgres]==2.0.0b3

you will get :

Fix the ModuleNotFoundError: No module named 'kubernetes' from example_dags/example_kubernetes_executor_config.py

Screenshot from 2020-11-29 16-39-38

Fix the ModuleNotFoundError: No module named 'kubernetes' from example_dags/example_kubernetes_executor_config.py
Copy link
Member

@turbaszek turbaszek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kubernetes is not required for airflow. We need to remove the kubernetes from default examples, see #12252 #12247

If you don't need examples just set load_examples=False in your config 😉

turbaszek added a commit to PolideaInternal/airflow that referenced this pull request Nov 29, 2020
Kubernetes is not required for running Airflow. If users will have
load_examples=True then they will see warning as described in apache#12705
@raphaelauv
Copy link
Contributor Author

If removing kubernetes from the default examples is the current plan , then no need for that PR

@raphaelauv raphaelauv closed this Nov 29, 2020
@raphaelauv raphaelauv deleted the patch-1 branch November 29, 2020 16:22
@ashb
Copy link
Member

ashb commented Nov 29, 2020

Oh, actually fixed in #12494

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

Successfully merging this pull request may close these issues.

3 participants