Kedro 安装 - 无法卸载`terminado`

zeh*_*zeh 1 python pip 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.
Run Code Online (Sandbox Code Playgroud)

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

pip install terminado --user --ignore-installed
Run Code Online (Sandbox Code Playgroud)

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

注意: 这个问题与this相似,但足够不同,我认为值得单独提出。

zeh*_*zeh 7

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

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

pip install terminado==0.9.1  --user --ignore-installed
Run Code Online (Sandbox Code Playgroud)