Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Airbnb Airflow: Installing Airflow without pip

Is there a way to install Airflow without pip?

I am trying to install Airflow on a offline computer that does not have pip. I have downloaded the packages from the internet but I am not sure how to run the installation without pip.

Does anybody knows how to run an installation with 'setup.py'?

like image 639
CMPE Avatar asked Oct 30 '22 20:10

CMPE


1 Answers

# /usr/bin/bash
python setup.py build
python setup.py install

If you get problems like the lack of setuptools you can install it (depending on your system, it usually a package. If you want to be sure to have everything download and later install the python-devel (sometimes also python-dev) package with your OS package manager) or you could use airflow via docker, you will build the image and then export it to the offline unit.

like image 182
Michele 'Ubik' De Simoni Avatar answered Nov 09 '22 03:11

Michele 'Ubik' De Simoni