I have a simple workflow:
python-bugged-example.knwf (7.7 KB)
Where the first node fails to execute:
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.
I keep getting the following error when running the BERT classification learner or the KERAS network learner in the KNIME platform:
“Execute failed: EndVector() takes 1 positional argument but 2 were given”
Please guide me as to how I can fix this issue. Thanks in advance!
Hope to
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
system
closed
April 8, 2022, 3:04pm
#4
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.