Forum Discussion

NilsJJ's avatar
NilsJJ
Copper Contributor
Aug 15, 2023

Azure Functions: x86 emulation on ARM64

Hello guys

I am trying to create a local development environment for my Azure Function with VS Code on Mac (M2). Because Functions doesn't currently support Python function development on ARM64 devices. We should be able to work around this with Rosetta and its https://learn.microsoft.com/en-us/azure/azure-functions/functions-run-local?tabs=windows%2Cportal%2Cv2%2Cbash&pivots=programming-language-csharp#x86-emulation-on-arm64 in the Terminal. I started the terminal with the recommendet setting "open with rosetta". But that still throws me the error that ARM is not supported.
Does anyone have similar expiriences and found a solution?
Best, Nils

 

1 Reply

  • Delano_Zuurman's avatar
    Delano_Zuurman
    Copper Contributor
    Let's start at the beginning, as you say you should start your terminal with the "open with rosetta " option, so let's confirm that.

    When you start your terminal with the "open with rosetta" functionality on and you run the command "arch" what is the output that is being returned?

Resources