出现python包版本过低的问题,使用 pip install --ignore-installed 包名
,就可以解决问题了。
ERROR: packaging 20.4 has requirement pyparsing>=2.0.2, but you'll have pyparsing 1.5.6 which is incompatible.
使用代码:
pip install --ignore-installed pyparsing
出现python包不能卸载的问题,使用 pip install --ignore-installed 包名
,就可以解决问题了。就会重新安装最新的包
ERROR: Cannot uninstall 'requests'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
使用代码:
pip install --ignore-installed requests