Elasticsearch-curator 5.8.2 is failing during TypeError: load() missing 1 required positional argument: 'Loader'

You have a few options.

  1. Run Curator in a Python virtualenv. This will allow it to manage its own dependencies outside of the system defaults.
  2. Run Curator from a different machine or VM
  3. Find the old 5.8.2 RPM or DEB package and install that, as it is standalone and requires no system python to even run.

There are probably other variations that would work, but these are the lowest hanging fruit.