When I try:
$ sudo pip install numpy
on my Ubuntu 12.04 server, I get:
----------------------------------------------------
I used to get almost same type of errors but solved it using a virtual environment. There are many environments but I personally suggest venv.
I was able to easily get rid of the errors using venv.
It is because loading all libraries on OS using sudo is not appropriate.
Your OS becomes big and gives unwanted errors.