[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
- Getting permission denied error while de...
My `package.json` build script is `tsc` and function's commands are `npm install && npm run build`. Here are the deployment logs: ``` 2025-06-19T15:14:36.849527...
- Function Endpoint Not working
I have made a cloud function in appwrite which verifies a user's email address. The function endpoint is like <GIBBERISH>.fra.appwrite.run. Now, when I make a c...
- Appwrite Function get Execution ID
Is there a way to get the execution Id of the function's "own" execution inside the function? I couldn't find any environment variable for it [here](https://app...
