【持续更新】pip install报错解决汇总

pip install报错解决汇总

  • pip install报错解决汇总
    • 1、ERROR: Cannot uninstall 'xx'. 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.
    • 2、ERROR: Could not find a version that satisfies the requirement 1.1 (from versions: none)
    • ERROR: No matching distribution found for 1.1
    • 3、ERROR: Cannot uninstall aiosqlite 0.16.1, RECORD file not found. Hint: The package was installed by flit.

pip install报错解决汇总

最近安装水泽项目,期间遇到了许多报错。汇总一下,方便以后查询。

1、ERROR: Cannot uninstall ‘xx’. 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.

 ERROR: Cannot uninstall 'xx'. 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尝试卸载的时候出错了,这个时候卸载不了,也安装不了。

解决方法:强行安装。

python3 -m pip install --ignore-installed  xx

2、ERROR: Could not find a version that satisfies the requirement 1.1 (from versions: none)

ERROR: No matching distribution found for 1.1

问题场景:

python3 -m pip install --ignore-installed  IPy 1.1

出现原因:找不到该版本。
解决方法:,直接去掉后面版本号解决。

python3 -m pip install --ignore-installed  IPy

3、ERROR: Cannot uninstall aiosqlite 0.16.1, RECORD file not found. Hint: The package was installed by flit.

解决方法:,直接去掉后面版本号解决。

python3 -m pip install --ignore-installed  IPy

你可能感兴趣的:(萌新随笔,pip,linux,系统安装)