Cannot run Jupyter Notebook
Karol
New Altair Community Member
Hi, I am very new to Rapidmider. I am trying to run a Jupyter notebook, but I keep getting this error: The execution of the Python script failed. Please check your Python script: TypeError: rm_main() missing 1 required positional argument.
I trying to run this code, because I saw in a video that I should write this command in order to start:
I trying to run this code, because I saw in a video that I should write this command in order to start:
def rm_main(data):
print("hello")
return data
Thank you in advance!
Thank you in advance!
0
Best Answers
-
Dear Karol,
The problem is probably, that you did not connected any data to the inp input port of the Execute Python operator, while you have defined 1 argument for rm_main. See the difference here:
You can find more info in the documentation: https://docs.rapidminer.com/9.8/developers/python/extension/
Best regards,
Bence Tamás0 -
Thank you for the reply!0
-
Thank you0
Answers
-
Dear Karol,
The problem is probably, that you did not connected any data to the inp input port of the Execute Python operator, while you have defined 1 argument for rm_main. See the difference here:
You can find more info in the documentation: https://docs.rapidminer.com/9.8/developers/python/extension/
Best regards,
Bence Tamás0 -
Thank you for the reply!0
-
Thank you0