How to install salt for python3?

Solution 1:

As explained in https://github.com/saltstack/salt-bootstrap#python-3-support this is only supported on some platforms.

Try

sh bootstrap-salt.sh -x python3 -D

and/or check sh bootstrap-salt.sh --help for more details.

Solution 2:

You just use the python3 package installer - pip3

yum install python3-pip
pip3 install salt