Search code examples
pythonpipkedro

Kedro install - Cannot uninstall `terminado`


When running kedro install I get the following error:

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.

This github issue suggests the following fix:

pip install terminado --user --ignore-installed

But it does not work for me as I keep having the same error.

Note: This question is similar to this but different enough that I think it is worth asking separately.


Solution

  • The problem is the version that the kedro template project requires see src/requiremetns.txt

    In my project it is terminado==0.9.1, hence the following solves the problem:

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