GitHub user potiuk added a comment to the discussion: Error on Moving from 
Sequential to LocalExecutor

I can think of a few things that could cause similar issues

1. Make sure you are installing Airlfow with the right constraints 
https://airflow.apache.org/docs/apache-airflow/stable/installation/installing-from-pypi.html
2. Possibly you are using some limited Python interpreter delivered by the 
distribution you are using (your path indicate MacOS). Make sure you install 
Python interpreter and create a virtual environment where you install Airlfow 
(you can use `uv` to install Python and create virtualenvs where you install 
Airflow). The Python distributions delivered by OS are often limited and 
trimmed down and have some "internals" changed to use Python for some internal 
scripts only - so if you want to run a complex Python application, make sure to 
install a "vanilla" interpreter - not the one modified by the OS producer
3. If you are using different OS than Linux, there might be various problems - 
Windows is not supported at all, WSL2 can be used for debugging and running a 
"quick start" - similarly MacOS has problems with forking in Python that 
seriously limits stability and usability of Airflow for "production" use cases. 
Practically only Linux distros are recommended for any production grade running 
of Airflow.

GitHub link: 
https://github.com/apache/airflow/discussions/44243#discussioncomment-11603257

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to