alexa-samples / Alexa-Gadgets-Raspberry-Pi-Samples

This repository enables you to prototype an Alexa Gadget using Raspberry Pi. It includes Python-based software, sample projects, and step-by-step instructional guides that walk you through how to use key features of the Alexa Gadgets Toolkit to create new, engaging customer interactions with gadget devices.
Other
91 stars 29 forks source link

Package 'ask-sdk' requires a different Python: 3.5.3 #6

Closed vartakr closed 4 years ago

vartakr commented 4 years ago

Hi @vartakr , as you mentioned color cycler example , I am facing the following issue while trying to deploy the code.

ERROR: Package 'ask-sdk' requires a different Python: 3.5.3 not in '>2.6, !, !=3.1., !=3.2., !=3.3., !=3.4., !=3.5.'

Please help me out.I have python 3.6.8 installed on my pi.

Originally posted by @Vaishnavikumara in https://github.com/alexa/Alexa-Gadgets-Raspberry-Pi-Samples/issues/5#issuecomment-538930887

vartakr commented 4 years ago

Hi @Vaishnavikumara

Based on the error it seems that the Python version being used is 3.5.3, which is not supported by 'ask-sdk-core' package.

If you believe you have python 3.6.8 installed on your pi, you can try following the same instructions mentioned here by using pip3.6 instead of pip to install the dependences from requirements.txt.