-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Symbol not found: _SASToken_CreateString on Apple Silicon with Azure Functions #278
Comments
hey @jimbobbennett , apologize for the late response and thanks for the link to your repo. the uamqp doesn't provide apple M1 yet (arm-based) wheel yet, we only support wheels for x86 & x86-64, which means on Apple M1, the library uamqp-python (based on uamqp-c) will need to build itself first which requires extra dependencies. Are you working with the Apple M1 for local development? one workaround you could try locally is to put |
@yunhaoling - tried that, same error. |
Hi @jimbobbennett perhaps this could work? |
@yunhaoling, thanks for the info. Would you know of a timeline when uamqp would support Apple M1? |
I was running into this problem even when building directly from the source. I had to add the following line in
|
I am facing the same issue. Anything we can do as a temporary fix? |
pip uninstall uamqp found the solution here: |
Describe the bug
When importing the
azure.iot.hub
package into an Azure Functions Project, the application throws anImportError
:To Reproduce
Steps to reproduce the behavior:
azure-iot-hub
to therequirements.txt
file, create a virtual environment and install the packages from this fileazure.iot.hub
in the__init__.py
fileYou can find a project to reproduce this here: https://github.com/jimbobbennett/iot-func-error
Expected behavior
It should work and not thrown an exception.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: