alexa/alexa-skills-kit-sdk-for-python

'lambda_function': No module named 'ask_sdk_core'

Daniyaldehleh opened this issue · 2 comments

Hi There!
Just like the previous issue, I am getting the error despite pip -t installing ask-sdk-core into my venv.
I zipped the site-packages and named it to python and uploaded to layers.

C:.
├───Lib
│   └───site-packages
│       ├───aniso8601
│       │   ├───builders
│       │   │   ├───tests
│       │   │   │   └───__pycache__
│       │   │   └───__pycache__
│       │   ├───tests
│       │   │   └───__pycache__
│       │   └───__pycache__
│       ├───aniso8601-8.0.0.dist-info
│       ├───apiclient
│       │   └───__pycache__
│       ├───ask_sdk
│       │   └───__pycache__
│       ├───ask_sdk-1.14.0.dist-info
│       ├───ask_sdk_core
│       │   ├───dispatch_components
│       │   │   └───__pycache__
│       │   ├───utils
│       │   │   └───__pycache__
│       │   ├───view_resolvers
│       │   │   └───__pycache__
│       │   └───__pycache__
│       ├───ask_sdk_core-1.14.0.dist-info
│       ├───ask_sdk_dynamodb
│       │   └───__pycache__
│       ├───ask_sdk_dynamodb_persistence_adapter-1.14.0.dist-info
│       ├───ask_sdk_model
│       │   ├───canfulfill
│       │   │   └───__pycache__
│       │   ├───dialog
│       │   │   └───__pycache__
│       │   ├───dynamic_endpoints
│       │   │   └───__pycache__
│       │   ├───er
│       │   │   ├───dynamic
│       │   │   │   └───__pycache__
│       │   │   └───__pycache__
│       │   ├───events
│       │   │   ├───skillevents
│       │   │   │   └───__pycache__
│       │   │   └───__pycache__
│       │   ├───interfaces
│       │   │   ├───alexa
│       │   │   │   ├───comms
│       │   │   │   │   ├───messagingcontroller
│       │   │   │   │   │   └───__pycache__
│       │   │   │   │   └───__pycache__
│       │   │   │   ├───presentation
│       │   │   │   │   ├───apl
│       │   │   │   │   │   ├───listoperations
│       │   │   │   │   │   │   └───__pycache__
│       │   │   │   │   │   └───__pycache__
│       │   │   │   │   ├───apla
│       │   │   │   │   │   └───__pycache__
│       │   │   │   │   ├───aplt
│       │   │   │   │   │   └───__pycache__
│       │   │   │   │   ├───html
│       │   │   │   │   │   └───__pycache__
│       │   │   │   │   └───__pycache__
│       │   │   │   └───__pycache__
│       │   │   ├───amazonpay
│       │   │   │   ├───model
│       │   │   │   │   ├───request
│       │   │   │   │   │   └───__pycache__
│       │   │   │   │   ├───response
│       │   │   │   │   │   └───__pycache__
│       │   │   │   │   ├───v1
│       │   │   │   │   │   └───__pycache__
│       │   │   │   │   └───__pycache__
│       │   │   │   ├───request
│       │   │   │   │   └───__pycache__
│       │   │   │   ├───response
│       │   │   │   │   └───__pycache__
│       │   │   │   ├───v1
│       │   │   │   │   └───__pycache__
│       │   │   │   └───__pycache__
│       │   │   ├───audioplayer
│       │   │   │   └───__pycache__
│       │   │   ├───automotive
│       │   │   │   └───__pycache__
│       │   │   ├───connections
│       │   │   │   ├───entities
│       │   │   │   │   └───__pycache__
│       │   │   │   ├───requests
│       │   │   │   │   └───__pycache__
│       │   │   │   ├───v1
│       │   │   │   │   └───__pycache__
│       │   │   │   └───__pycache__
│       │   │   ├───conversations
│       │   │   │   └───__pycache__
│       │   │   ├───custom_interface_controller
│       │   │   │   └───__pycache__
│       │   │   ├───display
│       │   │   │   └───__pycache__
│       │   │   ├───gadget_controller
│       │   │   │   └───__pycache__
│       │   │   ├───game_engine
│       │   │   │   └───__pycache__
│       │   │   ├───geolocation
│       │   │   │   └───__pycache__
│       │   │   ├───messaging
│       │   │   │   └───__pycache__
│       │   │   ├───monetization
│       │   │   │   ├───v1
│       │   │   │   │   └───__pycache__
│       │   │   │   └───__pycache__
│       │   │   ├───navigation
│       │   │   │   ├───assistance
│       │   │   │   │   └───__pycache__
│       │   │   │   └───__pycache__
│       │   │   ├───playbackcontroller
│       │   │   │   └───__pycache__
│       │   │   ├───system
│       │   │   │   └───__pycache__
│       │   │   ├───tasks
│       │   │   │   └───__pycache__
│       │   │   ├───videoapp
│       │   │   │   └───__pycache__
│       │   │   ├───viewport
│       │   │   │   ├───apl
│       │   │   │   │   └───__pycache__
│       │   │   │   ├───aplt
│       │   │   │   │   └───__pycache__
│       │   │   │   ├───size
│       │   │   │   │   └───__pycache__
│       │   │   │   ├───video
│       │   │   │   │   └───__pycache__
│       │   │   │   └───__pycache__
│       │   │   └───__pycache__
│       │   ├───services
│       │   │   ├───device_address
│       │   │   │   └───__pycache__
│       │   │   ├───directive
│       │   │   │   └───__pycache__
│       │   │   ├───endpoint_enumeration
│       │   │   │   └───__pycache__
│       │   │   ├───gadget_controller
│       │   │   │   └───__pycache__
│       │   │   ├───game_engine
│       │   │   │   └───__pycache__
│       │   │   ├───list_management
│       │   │   │   └───__pycache__
│       │   │   ├───lwa
│       │   │   │   └───__pycache__
│       │   │   ├───monetization
│       │   │   │   └───__pycache__
│       │   │   ├───proactive_events
│       │   │   │   └───__pycache__
│       │   │   ├───reminder_management
│       │   │   │   └───__pycache__
│       │   │   ├───skill_messaging
│       │   │   │   └───__pycache__
│       │   │   ├───timer_management
│       │   │   │   └───__pycache__
│       │   │   ├───ups
│       │   │   │   └───__pycache__
│       │   │   └───__pycache__
│       │   ├───slu
│       │   │   ├───entityresolution
│       │   │   │   └───__pycache__
│       │   │   └───__pycache__
│       │   ├───ui
│       │   │   └───__pycache__
│       │   └───__pycache__
│       ├───ask_sdk_model-1.24.0.dist-info
│       ├───ask_sdk_runtime
│       │   ├───dispatch_components
│       │   │   └───__pycache__
│       │   ├───view_resolvers
│       │   │   └───__pycache__
│       │   └───__pycache__
│       ├───ask_sdk_runtime-1.14.0.dist-info
│       ├───bin
│       │   └───__pycache__
│       ├───boto3
│       │   ├───data
│       │   │   ├───cloudformation
│       │   │   │   └───2010-05-15
│       │   │   ├───cloudwatch
│       │   │   │   └───2010-08-01
│       │   │   ├───dynamodb
│       │   │   │   └───2012-08-10
│       │   │   ├───ec2
│       │   │   │   ├───2014-10-01
│       │   │   │   ├───2015-03-01
│       │   │   │   ├───2015-04-15
│       │   │   │   ├───2015-10-01
│       │   │   │   ├───2016-04-01
│       │   │   │   ├───2016-09-15
│       │   │   │   └───2016-11-15
│       │   │   ├───glacier
│       │   │   │   └───2012-06-01
│       │   │   ├───iam
│       │   │   │   └───2010-05-08
│       │   │   ├───opsworks
│       │   │   │   └───2013-02-18
│       │   │   ├───s3
│       │   │   │   └───2006-03-01
│       │   │   ├───sns
│       │   │   │   └───2010-03-31
│       │   │   └───sqs
│       │   │       └───2012-11-05
│       │   ├───docs
│       │   │   └───__pycache__
│       │   ├───dynamodb
│       │   │   └───__pycache__
│       │   ├───ec2
│       │   │   └───__pycache__
│       │   ├───resources
│       │   │   └───__pycache__
│       │   ├───s3
│       │   │   └───__pycache__
│       │   └───__pycache__

Hi @danieldhz, can you provide which previous issue you are referring to?
Also it would be great if you can raise issues using template which helps to get context and reproduce the issue with information/logs and references you have used.
Thanks

Duplicate of #163