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
- local build `composer installer:dev` iss...
setup - dev container (default linux universal) WSL (test with gh codespace too) - php 8.5.7 - all extensions installed - `composer install` fine - `composer...
- Function global variables
when i create a top-level global variable in go or bun how will it behave? is the heap getting renewed on every execution or could i do some kind of temp. cachi...
- sh: vite: Permission denied
When installing the vue starter template as site and then adding DaisyUI, i get the error `sh: vite: Permission denied`. I also got this issue (with a fresh tem...