Kedro install - Cannot uninstall `terminado`

Viewed 2331

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.

2 Answers

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

For me it was this line in requirements.txt;

...
jupyterlab>=1.0
....

removed the version part (">=1.0") and it worked;

...
jupyterlab
....
Related