question

neo.source avatar image
neo.source asked

Alexa Gadget Python library installation

I am not able to find any documentation on how to get agt python library installed on Mac OS X Catalina nor on the mindstorm. I am trying to follow the Alexa-gadgets-minstorm examples to run, but unable to run them on visual studio code on Mac OS X Catalina nor on my Mindstorm. Both error out with the following message

Traceback (most recent call last):
  File "/home/robot/alexa-gadgets-mindstorms/mission-01/mission-01.py", line 19, in <module>
    from agt import AlexaGadget
ImportError: No module named 'agt'

I am trying to follow the instructions at "https://www.hackster.io/alexagadgets/lego-mindstorms-voice-challenge-setup-17300f". It gives a step by step instruction on setting up the mindstorm and visual studio but does not address the compilation issue due to missing module. The agt module is from Amazon to help create Amazon Gadgets and hence I reached out to this forum. Any help here will be appreciated.

alexa gadgets
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

newuser-46df7d85-18d4-49fc-9480-9ceb974c333b avatar image
newuser-46df7d85-18d4-49fc-9480-9ceb974c333b answered

I have same problem. Can you solve this problem?


10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

newuser-46df7d85-18d4-49fc-9480-9ceb974c333b avatar image
newuser-46df7d85-18d4-49fc-9480-9ceb974c333b answered

Now I can solve the problem by using original ev3dev-stretch not LEGO-approved version.


10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.