Hello, I have deployed a python3.9 function manually. The compressed file contains the main.py and the requirements.txt. When I execute the function form the admin panel I get "ModuleNotFoundError: No module named 'appwrite'". How to fix it?
Did you add the build command to install dependencies?
No what Is the command?
Have a look at this post: https://discord.com/channels/564160730845151244/1162729467777646642
You basically have to add this line to your function in the appwrite.json config file: "commands": "pip install -r requirements.txt"
Recommended threads
- Custom API domain is unreachable
Earlier my custom api domain was working fine. Now it seems to be offline without a trace a few hours later. I didn't change anything, all the relevant DNS reco...
- "Invalid console fingerprint" when unpau...
I've tried logging out and logging back in, still can't figure out why this is happening.
- executeFunction intermittently throws Fo...
Environment: Flutter app using the Appwrite Flutter SDK, calling executeFunction for [describe endpoint, e.g. live-stream-related function]. *Description*: Int...