Closed lepascal closed 7 months ago
🤖
Hey @lepascal, great to see you back on the langflow repo! Hope you're doing well.
Based on the error messages you've provided, it seems like there might be a few different issues at play here.
Firstly, the 'Invalid type conversion' error and the AttributeError in the typing.py file could be due to a mismatch between the Python version and the versions of langchain and langflow you're using. Langflow v0.6.6 might require a different Python version or different versions of langchain and langchain-community. I recommend checking the specific Python version and the versions of langchain and langchain-community that are compatible with Langflow v0.6.6.
Secondly, the warnings about importing agent toolkits, embeddings, and retrievers from langchain being deprecated suggest that these should now be imported from langchain-community instead. This could be the reason why the ConversationChain module and other components are missing. You might need to update your code to import these from langchain-community.
Lastly, the issue with the 'name' key in field_config being used to build the object and not being able to be changed could be due to a design decision in the code. If the 'name' key is used to build an object, it might not be designed to be changed after the object is created. If you need to change the 'name' key, you might need to create a new object with the new 'name'.
Without more specific information about the components that are missing and the exact error messages, it's difficult to provide a more precise solution. If you could provide more details about the missing components and the exact error messages, it would be helpful in diagnosing the problem.
For the dependencies and their versions required by langflow v0.6.6, unfortunately, I wasn't able to find this information in the repository. The dependencies listed in the context are for langflow v0.1.2, and the dependencies for v0.6.6 might be different. I recommend checking the package.json file in the v0.6.6 branch of the repository for the exact dependencies and their versions.
I hope this helps! If you have any more questions or need further clarification, feel free to ask. Dosu
This 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.
I have the same error. Have you found a solution?
Upgrading python to version 3.10 is the solution and it runs fine on me
I finally got langflow to run and show components, but it's missing many of them. I don't find the basic ConversationChain module, for example.
In the terminal it's giving me plenty of errors for what seems to be the loading of components.
My versions: langchain 0.1.5 langchain-community 0.0.17 langchain-core 0.1.18 langflow 0.6.6 Python 3.9.6