Closed bxu1999 closed 1 year ago
The openshift
package installation requires PyYAML >= 5.4.1, and if the existing PyYAML is an older version, then PyYAML's installation will fail. To overcome this issue, manually delete the exisiting PyYAML package as below (adjust the paths in the commands according to the your host environment):
rm -rf /usr/lib64/python3.6/site-packages/yaml
rm -f /usr/lib64/python3.6/site-packages/PyYAML-*
The above is now documented in the README file.
Installation of Ansible package "openshift" might fail on a dependent package "PyYAML" due to the existing "PyYAML" version is too old, and can't be safely removed for the update.