Title: *** ModuleNotFoundError: No module named 'dataiku.langchain' · Issue #336 · dataiku/dataiku-api-client-python · GitHub
Open Graph Title: *** ModuleNotFoundError: No module named 'dataiku.langchain' · Issue #336 · dataiku/dataiku-api-client-python
X Title: *** ModuleNotFoundError: No module named 'dataiku.langchain' · Issue #336 · dataiku/dataiku-api-client-python
Description: dataikuapi.dss.langchain.tool tries to import dataiku from dataiku.langchain.dku_tracer import dku_span_builder_for_callbacks I have both dataiku and datikuapi installed and calling tool.as_langchain_structured_tool() doesn't work with e...
Open Graph Description: dataikuapi.dss.langchain.tool tries to import dataiku from dataiku.langchain.dku_tracer import dku_span_builder_for_callbacks I have both dataiku and datikuapi installed and calling tool.as_langcha...
X Description: dataikuapi.dss.langchain.tool tries to import dataiku from dataiku.langchain.dku_tracer import dku_span_builder_for_callbacks I have both dataiku and datikuapi installed and calling tool.as_langcha...
Opengraph URL: https://github.com/dataiku/dataiku-api-client-python/issues/336
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"*** ModuleNotFoundError: No module named 'dataiku.langchain'","articleBody":"dataikuapi.dss.langchain.tool tries to import dataiku\n\n```\nfrom dataiku.langchain.dku_tracer import dku_span_builder_for_callbacks\n```\n\nI have both dataiku and datikuapi installed and calling tool.as_langchain_structured_tool() doesn't work with either\n\n```\n(Pdb) tool\n\u003cdataikuapi.dss.agent_tool.DSSAgentTool object at 0x7f25f62f58e0\u003e\n(Pdb) t = tool.as_langchain_structured_tool()\n*** ModuleNotFoundError: No module named 'dataiku.langchain'\n(Pdb) from dataiku import langchain\n*** ImportError: cannot import name 'langchain' from 'dataiku' (.venv/lib/python3.12/site-packages/dataiku/__init__.py)\n(Pdb) tool\n\u003cdataikuapi.dss.agent_tool.DSSAgentTool object at 0x7f25f62f58e0\u003e\n(Pdb) tool.as_langchain_structured_tool()\n*** ModuleNotFoundError: No module named 'dataiku.langchain'\n```","author":{"url":"https://github.com/ebrittai","@type":"Person","name":"ebrittai"},"datePublished":"2025-09-24T22:09:47.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/336/dataiku-api-client-python/issues/336"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:82bdd03a-08c3-ea7c-d52a-2a566df865fc |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D654:EB239:154F3C6:1AED674:69916C59 |
| html-safe-nonce | fe602cec88648f7456455eb87e502890c2eb772afde108cc292add6efc36151c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENjU0OkVCMjM5OjE1NEYzQzY6MUFFRDY3NDo2OTkxNkM1OSIsInZpc2l0b3JfaWQiOiIyODk4MzgxNzI0MjUyNzI4NDA5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 4b9563cc3b1256cbe7e5c6106a01aab836f5e7619083ce8b8e93c9790836e22c |
| hovercard-subject-tag | issue:3451148055 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/dataiku/dataiku-api-client-python/336/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0cd5bd949c5166e1be4f39883d8f3475578fa6ce45b2f409cfbc5b56f4a94154/dataiku/dataiku-api-client-python/issues/336 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0cd5bd949c5166e1be4f39883d8f3475578fa6ce45b2f409cfbc5b56f4a94154/dataiku/dataiku-api-client-python/issues/336 |
| og:image:alt | dataikuapi.dss.langchain.tool tries to import dataiku from dataiku.langchain.dku_tracer import dku_span_builder_for_callbacks I have both dataiku and datikuapi installed and calling tool.as_langcha... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ebrittai |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/dataiku/dataiku-api-client-python git https://github.com/dataiku/dataiku-api-client-python.git |
| octolytics-dimension-user_id | 2335170 |
| octolytics-dimension-user_login | dataiku |
| octolytics-dimension-repository_id | 40004578 |
| octolytics-dimension-repository_nwo | dataiku/dataiku-api-client-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 40004578 |
| octolytics-dimension-repository_network_root_nwo | dataiku/dataiku-api-client-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 848bc6032dcc93a9a7301dcc3f379a72ba13b96e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width