The package should be available in conda-forge
https://anaconda.org/conda-forge/xlsxwriter
KNIME and python is a piece of work. Please have a look at this entry
It could be that it also works with a base environment without the .py file to start Python. You might have to try a few things.