Knime Update: Deprecated Python environments not removed?

Hi,

I happen to notice that deprecated Python environments are not getting deleted after knime got updated.

Is this a false positive (intended) or indeed an issue?

Best
Mike

I guess it is intended for the environment to stay. Because the old component versions will also stay for reversion. When the old extended version is restored, the corresponding environment will also need
to restore(I guess).

Of course, I don’t think they should stay, because some of these environments are too big. Or we can choose to delete them easily.

Btw, I checked the dir in Mac. The dir without version, like:

org_knime_pythonscripting

not org_knime_pythonscripting_5.4.2 in your screenshot.

Besides potential version issues, there are inconsistencies in different OS.

1 Like

Hi @mwiegand and @HaveF,
This is not intended—old environments should be removed when updating KNIME. If a version is reverted, the environment is re-created.

There’s a known issue on Windows where deletion can fail, especially with spaces in the path. We’re working on a fix.

In the meantime, you can safely delete old environment folders to free up disk space.

5 Likes