Open jimbobbennett opened 2 years ago
Update on working before - I wonder if the Azure CLI was running under Rosetta 2 before, so was ok with the x86_64 builds.
Issue raised for UAMQP for lack of Apple Silicon support: https://github.com/Azure/azure-uamqp-python/issues/284
Update - I can make this work by:
pip install uamqp --no-binary uamqp --no-cache-dir
uamqp
folder from my virtual environment into the extension at `~/.azure/cliextensions/azure-iot'So as a fix - can the setup code for this extension be changed to install uamqp with the no-binary flag? Not sure how to do this in a setup.py.
For me, this was a better approach than having to copy-paste with https://github.com/Azure/azure-iot-cli-extension/issues/468#issuecomment-1055713911.
Describe the bug
When running this extension on a Mac using Apple Silicon, an error is thrown by UAMQP that the hardware is not supported.
To Reproduce
Use an Apple Silicon based Mac. Install the az cli and the IoT extension Try to use the extension, for example to monitor a hub
Expected behavior
It should work
Environment (please complete the following information):
Additional context
Error message:
This also appears to be a new issue - this was used earlier this year with no problems (before July 2021).