Currently my file structure looks like this:
\HelloWorld
-helloWorld.py
- __init__.py
\api
- __init__.py
- userAPI.py
- util.py
The code looks like the following:
HelloWorld.py:
import api.userAPI
def handler(event, context):
api.userAPI.create_user()
userAPI.py
import util
def create_user():
helper()
print("creation")
util.py
def helper()::
print("HI!")
However, I'm getting a " Unable to import module 'HelloWorld': No module named 'util'". I'm running it with Python3.8 and writing lambda code. HelloWorld.py is my lambda