[Solved] Python runtime environment Getting a ModuleNotFoundError: No module named 'userlib.index'
- 0
- Functions
Hello All,
I am trying to run a the starter function in python environment and I am getting the following error from the runtime container logs:
Using Ubuntu 20.4 on WSL and appwrite 1.3.8
How exactly did you deploy the function?
Hey sorry for the late reply, Solved the issue. It seems the structure of the started code change. But when I did a CLi deployment I used a command that did not take into account the changed structure, so it seems like it could not find the index.py file. so I had to change it and put the full path of the code.
[Solved] Python runtime environment Getting a ModuleNotFoundError: No module named 'userlib.index'
Recommended threads
- [v1.8.1] Getting error "(role: applicati...
... but that scope doesn't exist. I am trying to get a function to run and modify tables in the database dynamically. I set everything up and eventually got: ...
- Scheduled function silently stopped firi...
Function is scheduled `* * * * *` and is `enabled: true`, but Appwrite Cloud has stopped queueing executions. Last execution: **2026-05-30 00:47 UTC** (~46h...
- Unable to create Sites or Functions with...
Heya, I was looking at the appwrite documentation for Sites API with the server api: https://appwrite.io/docs/references/cloud/server-nodejs/sites I can’t fin...