Closed KaduAshlesha123 closed 3 weeks ago
As it says in #1017, Pydantic version 2 isn't currently available for Chaquopy. But since langchain's requirement is pydantic<3,>=1
, you can work around this by adding install("pydantic<2")
to your pip
section, above langchain
.
Even after this, langchain still fails with the error Failed to install orjson<4.0.0,>=3.9.14 from https://files.pythonhosted.org/packages/f8/16/c10c42b69beeebe8bd136ee28b76762837479462787be57f11e0ab5d6f5d/orjson-3.10.3.tar.gz#sha256=2b166507acae7ba2f7c315dcf185a9111ad5e992ac81f2d507aac39193c2c818 (from langsmith<0.2.0,>=0.1.17->langchain).
Unfortunately I don't have any easy solution for this. Please subscribe to #1031 for updates on orjson.
Hello everyone, I am trying to install langchain in android studio with chaquopy and while doing this I am facing various issues. So, I wanted to know is langchain installable in android using chaquopy, if yes could you please provide me solution.
Following are the gardle (app) lines which I am using to install packages:
Following are the errors I am facing: