pip throws TypeError: parse() got an unexpected keyword argument ‘transport_encoding’ when trying to install new packages

I had the same problem and what worked for me was updating pip with conda:

conda install pip

It changed my pip from 9.0.1-py36hadba87b_3 to 9.0.1-py36h226ae91_4 and solved issue.

Leave a Comment