Installing Airflow on Windows 10 #24323
-
When I start the airflow webserver inside my python environment, I got the following error WARNING:root:OSError while attempting to symlink the latest log directory Python version 3.10.5 |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 8 replies
-
Airflow does not YET work on Windows. There is an effort on-going to make it more compatible but it is not. If you want - feel free to provide PRs that improve compatibility for Windows. They are most welcome. |
Beta Was this translation helpful? Give feedback.
-
First of all, the error that cause all of the logs (except the OS Warning) seems to be ModuleNotFoundError. I'm quite sure because I always got that WARNING:root:OSError alone itself, only 1 line just like that. Secondly, I think @potiuk has his point. So my answer will extend his. Use Window Subsystem for Linux (WSL) (which is available by default in every Windows I believe). You'll need a Linux distributors (we've got Ubuntu on Microsoft Store), then create a Virtual Environment in WSL, then install airflow and its dependencies in that venv. Things should work. Hope that this help. |
Beta Was this translation helpful? Give feedback.
-
Any new updates, I saw some YouTube videos where they have installed Airflow on Windows. |
Beta Was this translation helpful? Give feedback.
First of all, the error that cause all of the logs (except the OS Warning) seems to be ModuleNotFoundError. I'm quite sure because I always got that WARNING:root:OSError alone itself, only 1 line just like that.
Secondly, I think @potiuk has his point. So my answer will extend his. Use Window Subsystem for Linux (WSL) (which is available by default in every Windows I believe). You'll need a Linux distributors (we've got Ubuntu on Microsoft Store), then create a Virtual Environment in WSL, then install airflow and its dependencies in that venv. Things should work. Hope that this help.