Pizzaface / Alexa-Chromecast-Skill-2.0

Allows Amazon Alexa to control Google Chromecast - Designed for Raspberry Pi
359 stars 65 forks source link

install #11

Closed khiles closed 6 years ago

khiles commented 6 years ago

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

Thank you

khiles commented 6 years ago

 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 commented 6 years ago

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

khiles commented 6 years ago

aws

does that look right?

khiles commented 6 years ago

 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 commented 6 years ago

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 commented 6 years ago

Hi yes I used the script to make the zip

LukeChannings commented 6 years ago

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 commented 6 years ago

Closing because of inactivity