Dataiku Answers can't find 'langchain' module

Cameron_Arnold
Cameron_Arnold Registered Posts: 3

Hello,

I've made an Visual Agent with several tools, but when I go to run a Quick test, I get the following error:

```
{ "ok": false, "errorType": "ERROR", "errorMessage": "Processing failed, caused by: RequestFailedException: java.io.IOException: Fetching descriptor from Python tool failed, caused by: ExecutionException: com.dataiku.dip.io.CustomPythonKernelException: Failed to start Agent Tool server, caused by: CustomPythonKernelException: Failed to start Agent Tool server, caused by: RequestFailedException: No module named 'langchain'", "finishReason": "unknown", "predictedClassProbas": [], "fromCache": false}
```

There's nowhere to provide a code environment or anything, so I'm unsure how to proceed. Other users' agents don't have this issue.

NOTE: I'm on Dataiku 14, but there's not an option to choose it in the "Dataiku Version" dropdown

Operating system used: Redhat

Best Answer

Setup Info
    Tags
      Help me…