TypeError: parse() got an unexpected keyword argument 'transport_encoding'

在anaconda3环境下,安装jieba词库,在cmd下输入pip install jieba,出现提示:

TypeError: parse() got an unexpected keyword argument 'transport_encoding'

于是百度了一下,发现解决方案:

conda install pip

http://blog.csdn.net/jacke121/article/details/78187999

The following packages will be UPDATED:

    anaconda: 5.0.1-py36h8316230_2  --> custom-py36h363777c_0

    conda:    4.3.30-py36h7e176b0_0 --> 4.4.10-py36_0

    pip:      9.0.1-py36hadba87b_3  --> 9.0.1-py36h226ae91_4

    pycosat:  0.6.2-py36hf17546d_1  --> 0.6.3-py36h413d8a4_0

这个命令原来是升级anaconda程序用的,很好用。应该是原版本的兼容有问题。升级了就好了。

运行上述命令,再pip install jieba。就安装成功了

你可能感兴趣的:(TypeError: parse() got an unexpected keyword argument 'transport_encoding')