The developer have solved this at Nov. 22th 2022
https://github.com/biobakery/kneaddata/commit/ebc077999b7d020f666a11aec782119ab764e00f
But it seems like the didn’t make it a new release in github.
You can set the envrionment by conda parameter with --only-deps, and git clone the kneaddata