PIP Install Numpy throws an error "ascii codec can't decode byte 0xe2" PIP Install Numpy throws an error "ascii codec can't decode byte 0xe2" numpy numpy

PIP Install Numpy throws an error "ascii codec can't decode byte 0xe2"


I had this exact problem recently and used

apt-get install python-numpy

This adds numpy to your system python interpreter. I may have had to do the same for matplotlib. To use in a virtualenv, you have to create your environment using the

--system-site-packages

option

http://www.scipy.org/install.html


For me @Charles Duffy comment solved it.Put this in your env:

LC_ALL=C

You can add it to your .bashrc with a line like this:

export LC_ALL=C

But take in care that you'll affect all other programs. So you may want to use it just for the pip run:

$ LC_ALL=C pip install ...


Try updating pip:

pip install -U pip