[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
- Help needed on sites and funcions
I have Appwrite 1.7.4 self-hosted on a VPS. If I enable this parameter: `_APP_OPTIONS_ROUTER_FORCE_HTTPS` Functions work perfectly. If I disable it, the sites...
- User (role: guests) missing scopes (["te...
I keep getting this error: ```AppwriteException: User (role: guests) missing scopes (["teams.read"]) at new AppwriteException (/usr/local/server/src/functio...
- How to get event payload/source from fai...
Hi everyone, I'm currently working with Appwrite's database triggers, specifically for document creation events. I've encountered a potential issue and was h...
