Solved py-pbr, py-pip and py-setuptools give me a headache


For some reason, my python-setup seems to be messed up. Packages fail to compile and complain about: ImportError: No module named pbr.pbr_json

No matter what I try, there seems to be something wrong with devel/py-pbr, devel/py-pip and devel/py-setuptools. I suppose there is some sort of conflict? But I don't know what, or how to fix it.

What is the best course of action to fix this issue?
It looks like I fixed the problem. I found a thread about a similar problem on the Gentoo Forums. After I deleted /usr/local/lib/python2.7/site-packages/pbr and /usr/local/lib/python2.7/site-packages/pbr-1.10.0.dist-info I was able to (re)compile all the problematic ports.