While updating Ansible pip package on Fedora 24 today, I got the following error message

I believe I came across this problem before when I installed a ruby gem on Centos 6 a short while back. Unfortunately, I already forgot how I’d solved it. So here’s a note to remind myself or anyone who’s having the same issue.

We need to install a package called: redhat-rpm-config.

Ref: