Error while executing a python code on server.
Niharika
New Altair Community Member
Hi I am running a python code on server and I am the following error
There was more issue I figured in the logs that for Job Container
The python has been configured in system settings and .rapidminer properties file.
We have installed Anconda in C drive and our server has been hosted on D drive so could that be an issue.
Another thing which we found that when we are running anaconda prompt and importing python packages as Panda and Numpy its working fine.But from cmd when we run python and import panads its giving dependency error so could that be an issue .
There was more issue I figured in the logs that for Job Container
The python has been configured in system settings and .rapidminer properties file.
We have installed Anconda in C drive and our server has been hosted on D drive so could that be an issue.
Another thing which we found that when we are running anaconda prompt and importing python packages as Panda and Numpy its working fine.But from cmd when we run python and import panads its giving dependency error so could that be an issue .
0
Answers
-
@Niharika for the agents you need to configure the path for Python.
Go to you agent path
\job-agent-home\config\rapidminer
and on the file: rapidminer.properties
Add this linesrapidminer.python_scripting.path=C:/ProgramData/Anaconda3/python.exerapidminer.r_scripting.path=C:/Program Files/R/R-3.5.0/bin/x64/Rscript.exe
with the right path for your installation.
Hope this works!0 -
I have added this path to the file.0
-
The extension was 9.2 which was compatible with my server version 9.2.
The issue got resolved .Had issue with Anaconda version 3.7.The base Environment doesn’t get activated by default. For solving the issue we need to set the environment variables in system settings manually using CONDA_DLL_SEARCH_MODIFICATION_ENABLE as true.1