I am trying to run my machine learning python file into UiPath. However, I am not able to run the file and hit the error “Invoke Python Method: One or more errors occurred.” after i import joblib and use the load() function in.
model = joblib.load(“C:/Users/xx.pkl”)
My entire python file looks like this for now:
# model = joblib.load("C:/Users/babyt/MLDP 2022/Projects/value estimator/models/trained_seeker_regressor_model.pkl") return(model)
My python path is my anaconda path. “C:\Users\xx\anaconda3”. I have googled for other answers however I am not able to solve this issue.
Summary: The error only occurs when I import Python libraries in. If anyone could help me, I would appreciate it. Thank you!