🎉 🎉. RAPIDMINER 9.8 IS OUT!!! 🎉 🎉

RapidMiner 9.8 continues to innovate in data science collaboration, connectivity and governance

CLICK HERE TO DOWNLOAD

Cannot run Jupyter Notebook

KarolKarol Member Posts: 5 Newbie
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: 
def rm_main(data):
    print("hello")
    return data
Thank you in advance!
Tagged:

Best Answers

  • btamasbtamas Employee, Member Posts: 11   RM Team Member
    Solution Accepted
    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ás
  • KarolKarol Member Posts: 5 Newbie
    Solution Accepted
    Thank you for the reply!
  • KarolKarol Member Posts: 5 Newbie
    Solution Accepted
    Thank you
Sign In or Register to comment.