-
Notifications
You must be signed in to change notification settings - Fork 15.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ModuleNotFoundError: No module named 'clarifai.auth' #14175
Comments
🤖 Hello @ivandorte, I'm Dosu, a bot designed to assist with the LangChain repository. I can help you troubleshoot issues, answer queries, and guide you on the journey to becoming a contributor. While we're waiting for a human maintainer to assist further, I'm here to provide initial support. Let's work this out together. The error you're encountering is due to an incorrect import statement in the LangChain code. The In the latest version of the Clarifai Python client library, the correct import statement should be: from clarifai.client.auth.helper import ClarifaiAuthHelper However, it seems that the LangChain code has not been updated to reflect this change. This is something that the LangChain maintainers will need to address. In the meantime, you can manually modify the import statement in your local copy of the LangChain code. Open the file from clarifai.auth.helper import ClarifaiAuthHelper with: from clarifai.client.auth.helper import ClarifaiAuthHelper This should resolve the As for the role of I hope this helps! If you have any other questions, feel free to ask. Best, SourcesThis response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research. Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant. If you want to continue the conversation, start your reply with @dosu-bot. |
Updated the clarifai imports fixed: #14175 @efriis @baskaryan
…n-ai#14215) Updated the clarifai imports fixed: langchain-ai#14175 @efriis @baskaryan
System Info
platform: Vagrant - Ubuntu 2204
python: 3.9.18
langchain version: 0.0.344
langchain core: 0.0.8
clarifai: 9.10.4
Who can help?
@hwchase17 @agola11
Information
Related Components
Reproduction
Expected behavior
I expect ClarifaiAuthHelper to import correctly.
In the latest version of clarifai ClarifaiAuthHelper is imported in this way:
The text was updated successfully, but these errors were encountered: