Skip to content
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

Can't run Python function app using Azure IoT SDK on Apple M1 #2397

Closed
jimbobbennett opened this issue Jan 22, 2021 · 1 comment
Closed

Can't run Python function app using Azure IoT SDK on Apple M1 #2397

jimbobbennett opened this issue Jan 22, 2021 · 1 comment
Milestone

Comments

@jimbobbennett
Copy link

When running an Azure function app on an Apple M1 that uses the Azure Python IoT SDK, you get errors:

[2021-01-22T00:04:13.014Z] Result: Failure
[2021-01-22T00:04:13.014Z] Exception: ImportError: dlopen(/Users/jimbennett/GitHub/iot-func-error/.venv/lib/python3.8/site-packages/uamqp/c_uamqp.cpython-38-darwin.so, 2): Symbol not found: _SASToken_CreateString
[2021-01-22T00:04:13.014Z]   Referenced from: /Users/jimbennett/GitHub/iot-func-error/.venv/lib/python3.8/site-packages/uamqp/c_uamqp.cpython-38-darwin.so
[2021-01-22T00:04:13.014Z]   Expected in: flat namespace
[2021-01-22T00:04:13.014Z]  in /Users/jimbennett/GitHub/iot-func-error/.venv/lib/python3.8/site-packages/uamqp/c_uamqp.cpython-38-darwin.so. Troubleshooting Guide: https://aka.ms/functions-modulenotfound

See this repo for reproduction steps and code to show the issue:

https://github.com/jimbobbennett/iot-func-error

@ejizba
Copy link
Contributor

ejizba commented Nov 18, 2021

Consolidating M1 issues. Will use Azure/azure-functions-python-worker#915 for Python work and #2834 for core tools

@ejizba ejizba closed this as completed Nov 18, 2021
@ghost ghost locked as resolved and limited conversation to collaborators Dec 18, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants