pip更新9.0.1到9.0.3,用python -m pip install --upgrade pip不能解决问题时

用pip安装包出现如下pip版本问题

You are using pip version 9.0.1, however version 9.0.3 is available.

You should consider upgrading via the 'python -m pip install --upgrade pip' command

于是乎用python -m pip install --upgrade pip更新pip,

又报错为:

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

我们解决的办法很简单

用conda命令安装,命令行键入conda install pip 如图:

pip更新9.0.1到9.0.3,用python -m pip install --upgrade pip不能解决问题时_第1张图片

不但给我更新了pip,还更新了conda,哈哈哈,一举两得

你可能感兴趣的:(python编程问题)