Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install #11

Closed
khiles opened this issue Jul 13, 2017 · 8 comments
Closed

install #11

khiles opened this issue Jul 13, 2017 · 8 comments

Comments

@khiles
Copy link

khiles commented Jul 13, 2017

Would anyone be willing to help me install please ive tried for 3 days and im getting no where

Thank you

@khiles
Copy link
Author

khiles commented Jul 13, 2017


19:03:53
START RequestId: 03309888-67fe-11e7-95e6-f9f1f68d8fc0 Version: $LATEST

19:03:53
Unable to import module 'index': No module named index

19:03:53
END RequestId: 03309888-67fe-11e7-95e6-f9f1f68d8fc0

19:03:53
REPORT RequestId: 03309888-67fe-11e7-95e6-f9f1f68d8fc0 Duration: 0.39 ms Billed Duration: 100 ms Memory Size: 128 MB Max Memory Used: 16 MB

19:03:53
START RequestId: 037dce43-67fe-11e7-877c-17ebd8db5eea Version: $LATEST

19:03:53
Unable to import module 'index': No module named index

19:03:53
END RequestId: 037dce43-67fe-11e7-877c-17ebd8db5eea

19:03:53
REPORT RequestId: 037dce43-67fe-11e7-877c-17ebd8db5eea Duration: 0.40 ms Billed Duration: 100 ms Memory Size: 128 MB Max Memory Used: 18 MB

19:04:10
START RequestId: 0d4acf86-67fe-11e7-b274-d741cac40c2e Version: $LATEST

@Pizzaface
Copy link
Owner

Make sure your interpreter is Python, and that the handler is main.lambda_handler

@khiles
Copy link
Author

khiles commented Jul 13, 2017

aws

does that look right?

@khiles
Copy link
Author

khiles commented Jul 13, 2017


21:19:11
START RequestId: e9ffa51f-6810-11e7-9168-eb525249a92a Version: $LATEST

21:19:11
Unable to import module 'main': No module named requests

21:19:11
END RequestId: e9ffa51f-6810-11e7-9168-eb525249a92a

21:19:11
REPORT RequestId: e9ffa51f-6810-11e7-9168-eb525249a92a Duration: 8.07 ms Billed Duration: 100 ms Memory Size: 128 MB Max Memory Used: 34 MB

21:19:11
START RequestId: ea1e02a4-6810-11e7-9289-b7180617e33f Version: $LATEST

21:19:11
Unable to import module 'main': No module named requests

21:19:11
END RequestId: ea1e02a4-6810-11e7-9289-b7180617e33f

21:19:11
REPORT RequestId: ea1e02a4-6810-11e7-9289-b7180617e33f Duration: 34.40 ms Billed Duration: 100 ms Memory Size: 128 MB Max Memory Used: 34 MB

@LukeChannings
Copy link
Collaborator

Looking at your error messages it looks like the lambda bundle you're using is broken.
Do you use the script to generate a zip bundle?

@khiles
Copy link
Author

khiles commented Jul 24, 2017

Hi yes I used the script to make the zip

@LukeChannings
Copy link
Collaborator

Can you upload the lambda-build.zip you used somewhere so that I can inspect it? build-lambda-bundle.sh is meant to install dependencies within the build directory, so requests should be available.

@LukeChannings
Copy link
Collaborator

Closing because of inactivity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants