-
Notifications
You must be signed in to change notification settings - Fork 14.7k
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
pkg_resources.DistributionNotFound: The 'apache-airflow==2.0.0.dev0' distribution was not found and is required by the application #10516
Comments
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 ? |
|
@potiuk My pip version is 20.2.2 when i create this issues. |
@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 |
Fixes apache#10516 (cherry picked from commit 018ae0e)
Fixes apache#10516 (cherry picked from commit 018ae0e)
Fixes apache#10516 (cherry picked from commit 018ae0e)
Apache Airflow version:
Kubernetes version (if you are using kubernetes) (use
kubectl version
):Environment:
Mac OS 10.15.3
uname -a
):What happened:
Install Airflow :
What you expected to happen:
How to reproduce it:
Anything else we need to know:
The text was updated successfully, but these errors were encountered: