knime_io package

Hello,

I am trying to run a code but it keeps throwing me this error in pyspark Environment.

code :
import knime.scripting.io as knio

error:
No module named ‘knime’

I want to use this module to execute the code.

“df = knio.input_tables[0].to_pandas()”

or

Is there a way to install and use the package “knime_io”?

knime_io
thank you.

best,
NJH

@najihyeon I think you will have to install the new Python extension:

If you are interested in a more detailed discussion about KNIME and Python I have this blog entry:

Also this:

2 Likes

Hello.

I have the same issue when using the knime_io package in the “PySpark Script” node.

I think “PySpark Script” node doesn’t have knime_io package.

So, I was wondering If there is a way that I can install this package on Spark environmemt.

Thanks,
hhkim

Hi,

right now, only the Python integration can use knime_io, knime_jupyter, and their more current parts knime.scripting.io and knime.scripting.jupyter.

@hhkim, this also applies to your question in an older thread.

Best regards
Steffen

2 Likes

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