Execute failed: EndVector() takes 1 positional argument but 2 were given

I have a simple workflow:
image
python-bugged-example.knwf (7.7 KB)

Where the first node fails to execute:
image
This fails with error: Execute failed: EndVector() takes 1 positional argument but 2 were given

There is a post with the same error, however I’m not doing any ML so I don’t think it’s relevant to me.

Hi @azsb1g19,

What Python environment do you use? One created via the KNIME Python preferences (File > Preferences > KNIME > Python)?

I believe the post you linked should apply to you also. Try downgrading the version of the flatbuffers package in your environment to a version below 2.0.0.

Marcel

3 Likes

Yep, activating the conda venv for KNIME and running:

pip uninstall flatbuffers

Followed by:

pip install flatbuffers==1.12

Did the trick!

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.