0

I have windows server without internet and I want to have scheduler for my python script. How I can install airflow on it and what is my alternative solution for schudeling?

I used from docker desktop but docker needs internet. How can I solve it?

1 Answers1

0

Have you tried installing it offline ?

You could download the pip package from another machine (connected to the internet), then do some USB processing or anything else to transfer these to the first machine and install them like explained here : How to install packages offline?.

Specifically:

  1. Create a requirements.txt file with the packages you need and their versions, e.g.

    mypackage
    anotherpackage=0.1.2
    
  2. On machine with internet access, run:

    pip download -r requirements.txt
    
  3. Copy the files you got, and the requirements file, somewhere on the machine without internet, e.g. into /some/path.

  4. On the same machine, run

    pip install --no-index --find-links /some/path -r /some/path/requirements.txt
    

and that should do it.