Closed xu-xiang closed 4 years ago
This is because you need to install airflow using older version of PIP (19.0.2). @kaxil and others - should we finally try to see what it take to migrate to the latest version? Anyone remembers why we are pinned to 19.0.2 ?
Hello @xu-xiang. I just installed Airflow using the latest PIP version (and using the command you provided). It works for me for python 3.8 on Linux. The only thing that I can thing you might have problem with is PIP version (19.0.3 and above < 20.0.0) had a bug that made us pin to 19.0.2. Since PIP 20.2.+ works fine, I got rid of the 19.0.2 pinning in Docker images with #10542. Could you please verify if you have latest pip/easy_install installed and try again ?
(airflowenv) ➜ pythonenv pip --version
pip 20.2.2 from /Users/jax/xx/pythonenv/airflowenv/lib/python3.8/site-packages/pip (python 3.8)
(airflowenv) ➜ pythonenv
(airflowenv) ➜ pythonenv pip3 --version
pip 20.2.2 from /Users/jax/xx/pythonenv/airflowenv/lib/python3.8/site-packages/pip (python 3.8)
(airflowenv) ➜ pythonenv
@potiuk My pip version is 20.2.2 when i create this issues.
Use (airflowenv) ➜ airflow git:(master) ✗ python3.8 setup.py install
install airflow and error with pkg_resources.DistributionNotFound: The 'apache-airflow==2.0.0.dev0' distribution was not found and is required by the application
@xu-xiang - can you please try to replicate using the latest master and the standard virtualenv we recommend in CONTRIbUTING (with pyenv or mkvirtualenv and report if you have a success ? I think this.might be about some non-standard virtualenv setting you have
Apache Airflow version:
Kubernetes version (if you are using kubernetes) (use
kubectl version
):Environment:
uname -a
):What happened: Install Airflow :
What you expected to happen:
How to reproduce it:
Anything else we need to know: