[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
- Server Error when Pushing a Function
Get this ambiguous error when trying to push my function, it's TypeScript using NodeJS 18 ``` ? Which functions would you like to push? get-grades (get-grades)...
- Hola equipo de soporte,
Hola equipo de soporte, Estoy desarrollando una Function en Appwrite Cloud con Node.js 22 y el siguiente package.json: { "name": "upload-whitelist", "type"...
- Function running in cloud but not locall...
Hi everyone, I have an appwrite function which is on python3.12 runtime. I have a library (hnswlib) which builds wheels during installation. This works on appwr...
