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”

Asked on December 22, 2018 in Pandas.
Add Comment


  • 2 Answer(s)

    Use the below code in the environment:

    LC_ALL=C
    
    

    To add it to the .bashrc:

    export LC_ALL=C
    

    Execute the below code  so as the above code does not affect other programs:

    $ LC_ALL=C pip install ...
    
    Answered on December 22, 2018.
    Add Comment

    The problem can be solved if you update pip:

    pip install -U pip
    
    Answered on December 22, 2018.
    Add Comment


  • Your Answer

    By posting your answer, you agree to the privacy policy and terms of service.