python -m pip install --upgrade pip
pip升级报错 ValueError: Unable to find resource t64.exe in package pip._vendor.distlib
问题描述
使用pip安装第三方模块的时候,提示我pip版本过低WARNING: You are using pip version 21.0.1; however, version 21.1.1 is available. You should consider upgrading via the 'F:\python38\python.exe -m pip install --upgrade pip' command.
解决: 卸载setuptools
python -m pip uninstall pip setuptools
重新安装setuptools
pip install --upgrade setuptools
当再次执行更新pip命令时,已经是最新版了!