
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
- Create owner team member with Server fun...
I understand that when creating a team with a function, the user that made the request will not be the owner so I think I have to add the user that did the requ...
- Schedule a function job with timezone
I am aware that cron schedule will work on UTC timezone. I would like to run my function at a particular time everyday in new york time. If I use UTC, it will m...
- Appwrite processing global envs and chan...
So I define a global env - GCP_CREDENTIALS in global env of my appwrite projcet and refer to it in my functions as ```gcp_creds: JSON.PARSE(GCP_CREDENTIALS)```...
