Connecting to AWS

I am trying to register my Giant Board and featherwing as a thing on Amazon Web Services.

debian@giantboard:~/Lab4$ python3
Traceback (most recent call last):
File “”, line 4, in
from awscrt import io, mqtt, auth, http
ImportError: No module named ‘awscrt’

So my file is failing at the beginning

from future import absolute_import
from future import print_function
import argparse
from awscrt import io, mqtt, auth, http
from awsiot import mqtt_connection_builder
import sys
import threading
import time
import signal

It says that awscrt is not installed. So I try installing awscrt, and it gets to the point that it’s ‘building a wheel’

Building wheel for awscrt ( … error
ERROR: Command errored out with exit status 1:

ERROR: Failed building wheel for awscrt
Running clean for awscrt
Failed to build awscrt
Installing collected packages: awscrt
Running install for awscrt … error
ERROR: Command errored out with exit status 1:

Why can’t I install awscrt? I have tried pip install AWSIoTPythonSDK as well. It installs, but I have no idea what the equivalent module to awscrt is so I can change the file to a different command? Does AWSIoTSDK use a different version of awscrt than AWSIoTPythonSDK? What does the latter call their version?

Sorry for the late reply,
I’m not familiar with this aws setup but it looks to me like a problem with wheel not being to build. It might be worth checking out how to manually install wheel. I think I have wheel already in the default image but it could potentially be the wrong version required by this module.

Had a similar problem building wheel for regex. I traced it back to low memory conditions. If possible try building your code with a fresh OS install and before installing any extra packages.