4

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.

zeh
  • 1,197
  • 2
  • 14
  • 29

2 Answers2

11

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
zeh
  • 1,197
  • 2
  • 14
  • 29
0

For me it was this line in requirements.txt;

...
jupyterlab>=1.0
....

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

...
jupyterlab
....
myuce
  • 1,321
  • 1
  • 19
  • 29