Closed hoIIer closed 3 years ago
It's likely that a change in the crt switched you from consuming a pre-built wheel to having to explicitly build the native code component. That may due to a mistake on our part, but until we track it down, adding a cmake install to your build image/script may be a temporary workaround for the issue.
Following up, I believe this issue is related to https://github.com/awslabs/aws-crt-python/issues/191 Something has happened with the pre-built wheels to force a rebuild of the native code. When that is fixed I believe this issue will go away.
Issue #191 claims to be resolved, but I'm still having the same issue with the latest awsiotsdk (1.5.4) using
pip 21.0.1 from /usr/lib/python3.8/site-packages/pip (python 3.8)
Hello @elockman can we close this issue due to https://github.com/aws/meta-aws/issues/109 ?
I have worked around this by adding it to my yocto build with aws/meta, but I think this is still an issue for others. I think this is still a pip install issue per @bretambrose's comment.
This is bizarre. Glad you found a workaround by installing cmake just in case.
If you could install with --verbose
and share the full logs when this happens, we could see which wheels it sees in pypi, and perhaps see a reason that it's still choosing to build from source.
@rpcme @graebm not sure if this is still an issue? I pinned awsiotsdk==1.5.0
to get around it and haven't revisited
https://github.com/awslabs/aws-crt-python/issues/192
Hello, my previously working codebuild for my project began to fail just now with 'cmake' not found for awscrt (py 3.8). It looks like the last time I ran the build was 4 days ago, and it looks like the latest release for this repo was 4 days ago too. Any ideas on how to remediate?