Dirk's Tech Findings

salt-ssh using pip shows "AttributeError"

Publication date: 2019-05-03

Issue: salt-ssh using pip shows "AttributeError"

salt-ssh (2018.3.3) using pip shows "AttributeError: type object 'InstallRequirement' has no attribute 'from_line'".

Solution: Use newer salt-ssh

This is fixed in version 2018.3.4. Alternatively, you can downgrade pip to v18.

I upgraded towards newer salt-ssh on my Alpine Linux machine:

apk del salt*
pip3 install salt-ssh

Hint towards the solution

See https://github.com/saltstack/salt/pull/50280/files.

Back to topic list...