I would just reinstall your system, kind of getting the idea that script you ran plus probably some actions you did after wards left your system in an inconsistent state which it warned for. Also do not install pip using that script again, instead use the package manager: apt-get install python-pip