This usually occurs if your python setuptools are old version. I tried upgrading them and the errors are gone :)
For those who want the latest stable version use the above command or you can try yum to install python-setuptools
Hope it helps!
pip install --upgrade setuptools
For those who want the latest stable version use the above command or you can try yum to install python-setuptools
Hope it helps!