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
- No permissions provided for action 'read...
I have a very weird error; In a function I'm using dynamic keys to perform read write operation in rows. I have the scopes for read and write rows. The funct...
- Issue with downloading large files (40GB...
Hi everyone! I am using the latest Appwrite 1.8.0 version on my self-hosted server. I successfully uploaded a large ZIP archive (~40GB) using the chunked uploa...
- Repository directory size should be less...
Whenever I create a function i get the error above. Is there a way to get around this? How do I fix this?