[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
- Unable to add permission when creating a...
I am creating a collection from a cloud function using the Appwrite Dart server SDK, and I want to add permissions so it can be accessed by users. I added code ...
- Create owner team member with Server fun...
I understand that when creating a team with a function, the user that made the request will not be the owner so I think I have to add the user that did the requ...
- Schedule a function job with timezone
I am aware that cron schedule will work on UTC timezone. I would like to run my function at a particular time everyday in new york time. If I use UTC, it will m...
