Hi, the functions were working with no errors, when suddenly got the error
ModuleNotFoundError: No module named 'appwrite.input_file'
I did'n make any changes.
Try restarting the appwrite to see if it resolves the error
Restarted, but didn't help. Do you have any idea what could have happened?
Ooh I see,
Sorry, but I have no clue. What do the appwrite logs tell you?
Logs: No response was recorded.
Hmm, I think that indicates that the appwrite package is either not installed correctly or there is a problem with your python environment
I will check this. The point is that I have the same code for over 2 months and now I got this error.
Thank you!
tried all possible code edits, in the end, when trying to upload the files, I get ModuleNotFoundError or An unexpected error occurred: 'bytes' object has no attribute 'size'
are you sure you're using the correct version of the appwrite sdk? this error indicates that the file upload process is failing due to incorrect handling of the file object?
Downgraded to Appwrite Python SDK version 6.0.0
[SOLVED] ModuleNotFoundError
[Solved] ModuleNotFoundError
I am experiencing exactly the same problem.
[SOLVED] ModuleNotFoundError
seems this is no longer available in the latest 7.0 😦
what should I call ?
Found it ! Use Payload instead in 7.0
Recommended threads
- Authentication on custom Websocket Serve...
Hi, I want to use a custom Websocket Server (using Bun) for my application. However I cant really figure out authentication on custom servers. Session cookies ...
- Realtime: Listener not triggered on upda...
I self host appwrite 1.8.1. The genereal functionallity works fine. But my realtime subscription isn't updating. I see "Received heartbeat response from realtim...
- TablesDB can't be used in Appwrite Funct...
I have written a function (DART) and it won't deploy. Here is what I get : 2026-03-14T17:09:41.459693680Z Compiling ... 2026-03-14T17:09:42.915619217Z ../build...