antonio84Original post
Rank 1: Thread
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?
Summary
The user is experiencing a "No module named 'appwrite'" error when executing a Python function on the Appwrite platform. The solution is to add the following line to the appwrite.json config file: "commands": "pip install -r requirements.txt". For more information, refer to this post: https://discord.com/channels/564160730845151244/1162729467777646642.