Run the following command.
find /usr/local/* -iname \*.pyo -exec rm {} \;
find /usr/local/* -iname \*.pyc -exec rm {} \;
If it still works after a reboot, everything is fine. if not, then you have to reinstall your box completly because of a corrupt python installation.
find /usr/local/* -iname \*.pyo -exec rm {} \;
find /usr/local/* -iname \*.pyc -exec rm {} \;
If it still works after a reboot, everything is fine. if not, then you have to reinstall your box completly because of a corrupt python installation.