import error message

I keep getting this error message when I run a python script node. Sorry if I can’t figure this out. I install the two necessary packages.


Executing the Python script failed: Traceback (most recent call last):
File “”, line 1, in
File “C:\Program Files\KNIME\plugins\org.knime.python3.scripting_5.1.0.v202306301805\src\main\python\knime\scripting\”, line 97, in
File “C:\Program Files\KNIME\plugins\org.knime.python3.scripting_5.1.0.v202306301805\src\main\python\knime\scripting\”, line 92, in _prepare_input_tables
_ioc._input_tables[idx] = kat.ArrowSourceTable(data_source)
File “C:\Program Files\KNIME\plugins\org.knime.python3.arrow_5.1.0.v202307101500\src\main\python\”, line 345, in init
self._schema = _convert_arrow_schema_to_knime(self._source.schema)
AttributeError: ‘NoneType’ object has no attribute ‘schema’

Please provide an example workflow.

EDIT: and maybe also the content of the environment that you have activated in the Python preferences (via conda list in a terminal). You can format the resulting text as follows
Screenshot 2023-10-10 at 08.48.58



Hi ,
Thanks for responding. That’s the problem there isn’t a workflow. I’m just testing the Python script node and keep getting the error message. It’s not importing knime.scripting. Sorry I’m new to knime do we have to use that knime import? Can we code with out it?

If you use the Python node, you use it within a workflow :slight_smile:
This workflow can be saved, exported and shared.

Please familiarize yourself with the usage of the Python Script node first. In there, you can find example workflows which should give you a very clear idea on how to use them. The first link also describes how to access the “Templates”, which should resolve all remaining basic questions.

Best regards


If you look at the description of the node, you will get led to the same guide and more.



Thanks for all your help and being patient with my questions.

1 Like

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