How to uninstall Airflow?

17,991

Solution 1

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.

Solution 2

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.

Share:
17,991
Yassin Abid
Author by

Yassin Abid

Updated on June 14, 2022

Comments

  • Yassin Abid
    Yassin Abid almost 2 years

    I am a newbie to Airflow. i have some trouble to remove Airflow v1.10.3 ,i am using pip3 version 8.1.1 on Ubuntu 16.04.

    I already tried to remove pip with sudo apt-get remove python3-pip and sudo apt-get remove pip3 and all his dependencies. and tried to remove all libraries related with Python.

    But i stil have Airflow and his commands down in terminal.