Open bitxeno opened 11 months ago
Related: #995
This worked for me.
python {
version 3.8
pip {
install "pydantic<2"
}
}
Originally posted by @caarmen in https://github.com/chaquo/chaquopy/issues/995#issuecomment-1817681622
Would like to be able to use pydantic 2. Some libs seem to require it (ex: ariadne-codegen: https://github.com/mirumee/ariadne-codegen/pull/186 )
Originally posted by @IsakTheHacker in #995
I need the pydantic package for my app which depends on the native pydantic-core package written in Rust. I have tried following the guide for building Cryptography version 39 and read #657. It is hard to understand exactly what I need to do to set up Rust support when there is no official documentation. For example, do I need to cross-compile Python as described here or is that specific to the Cryptogaphy package?
@IsakTheHacker: I'll try to centralize all the notes about Rust in a single place: #1030.
Is there a method to manually build and insert the module? I don't need the latest version each time, but since openai
depends on it I cannot build my app.
I need to build for Android and iOS. Neither are currently functioning.
Sorry, there's no easy solution at the moment.
Actually, since openai
is still compatible with pydantic version 1, there is an easy solution for that:
pip {
install("pydantic<2")
install("openai")
}
I follow this link https://github.com/chaquo/chaquopy/issues/657 to build pydantic v2.4.2,but download package step report error:
how to fix this?