
I have a python function which uses OpenAI embeddings to do similarity search. It also uses LangChain, Google VertexAI and Qdrant. When deploying function this error comes up while installing dependencies. Output is in file attached. As I understand, the environment is missing some libraries. Is there any way to modify base environment? Or how do I fix that?

I edited "commands" in appwrite.json to this: apk --no-cache add musl-dev linux-headers g++ gcc openblas openblas-dev && pip install -r requirements.txt
And now it doesn't output any errors, but gets stuck on "installing build dependencies"

Does it fail? Or does it say processing?

To be honest, I just rewrote everything in another language. I managed to get it deployed successfully, but deploy times are huge + it didn't execute, problem with libraries once again.

[SOLVED] Problems with building python function

Python was slow or the new runtime?

Btw, the build container is different than the runtime container and it you have some runtime OS dependencies, you would need to make sure they're installed in the runtime container.
I've done this before by downloading the APK dependencies and ensuring they get installed in the function code
Recommended threads
- ENV vars not updating
When i do `nano .env` it shows `_APP_DOMAIN_TARGET=` as set to my domain, but when i do `docker compose exec appwrite vars` it shows `_APP_DOMAIN_TARGET=` as ...
- Index with the requested key already exi...
I'm using appwrite cli to create DB and I'm getting index_already_exists Is there a way to undestand the index name and maybe to skip if it's already exits?
- Hola equipo de soporte,
Hola equipo de soporte, Estoy desarrollando una Function en Appwrite Cloud con Node.js 22 y el siguiente package.json: { "name": "upload-whitelist", "type"...
