How to uninstall Airflow?

The command apt-get remove pip doesn't remove pip-installed libraries.To uninstall pip-installed libraries you need to install pip back and then uninstall the libraries using pip:

sudo apt install pip # or pip3

pip uninstall airflow

or

pip3 uninstall airflow

depending on what python version you use.


If you are not able to uninstall with

pip uninstall airflow 

Maybe the reason is for the latest versions of Airflow this command will work

pip uninstall apache-airflow 

Credits to This Answer.