Options

Python Code not running on server

NiharikaNiharika Member Posts: 40 Maven
edited October 2019 in Help

I have created this python process in my studio when I am exporting this process as a web service and calling it from Postman I am getting following error.

I have installed the extension on server and updated the job-agent
Tagged:

Best Answer

Answers

  • Options
    varunm1varunm1 Moderator, Member Posts: 1,207 Unicorn
    edited October 2019
    Hello @Niharika

    Did you test the installed python package to see if Rapidminer is detecting "pandas" module? 

    Just to double-check, did you create a system settings for python in the rapidminer server. You need to add a property rapidminer.python_scripting.path in property and the path to your python (installed) in value column.
    Regards,
    Varun
    https://www.varunmandalapu.com/

    Be Safe. Follow precautions and Maintain Social Distancing

  • Options
    NiharikaNiharika Member Posts: 40 Maven
    Hi How do I check for the python package.My server has been hosted on a VM. On that VM I am able to run a code which runs 'pandas' package..
    In the Server System settings I have added following:
    rapidminer.python_scripting.hidden.initialized=true
    rapidminer.python_scripting.package_manager=conda (anaconda)
    rapidminer.python_scripting.search_paths=C:\Anaconda3\python.exe
  • Options
    varunm1varunm1 Moderator, Member Posts: 1,207 Unicorn
    I am tagging @Pavithra_Rao and @David_A who might help you.
    Regards,
    Varun
    https://www.varunmandalapu.com/

    Be Safe. Follow precautions and Maintain Social Distancing

  • Options
    NiharikaNiharika Member Posts: 40 Maven
    Okay thanks
Sign In or Register to comment.