首页 > 解决方案 > Kedro 安装 - 无法卸载“终端”

问题描述

运行时kedro install出现以下错误:

Attempting uninstall: terminado
    Found existing installation: terminado 0.8.3
ERROR: Cannot uninstall 'terminado'. 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.

此 github问题建议进行以下修复:

pip install terminado --user --ignore-installed

但它对我不起作用,因为我一直有同样的错误。

注意: 这个问题与类似,但差异很大,我认为值得单独提问。

标签: pythonpipkedro

解决方案


问题是kedro模板项目需要的版本见src/requiremetns.txt

在我的项目中它是terminado==0.9.1,因此以下解决了这个问题:

pip install terminado==0.9.1  --user --ignore-installed

推荐阅读