sassoftware / sas-viya-dmml-pipelines

Code examples and supporting materials for data mining and machine learning techniques on the SAS Viya environment.
Apache License 2.0
30 stars 26 forks source link

Model Studio Error Running R and Python code #6

Open omhafslund opened 3 years ago

omhafslund commented 3 years ago

We have a running Viya4 environment in Azure.

We are facing the following identical error message both from running R and Python in Model Studio. Executing it on R: Feb 18, 2021 3:55:56 PM com.sas.analytics.datamining.servertier.SASJavaExec lambda$handleProcessOutput$0 INFO: PROCESS OUTPUT >>> Error in str2lang(x) : :1:9: unexpected input ERROR: Encountered error code 1 when executing R program.

Executing it on Python: Feb 18, 2021 3:50:38 PM com.sas.analytics.datamining.servertier.SASJavaExec lambda$handleProcessOutput$0 INFO: PROCESS OUTPUT >>> AttributeError: module 'pandas' has no attribute 'read_csv' ERROR: Encountered error code 1 when executing PYTHON program.

What can be the cause?

Best regards Ole-Martin Hafslund (SAS)

rmyneni commented 3 years ago

What you are seeing is a generic error message in the log which is highlighted in red when the Open Source Code node fails. The actual reason for the error will be in the log above this error message, so scroll up to get more details. You can also search for the first occurrence of executeProcess in the log to see the start of these detailed error messages that are coming directly from Python or R if configured correctly.

omhafslund commented 3 years ago

Thanks - will look more on the R and Python setup and see if there are something there.