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

RaspberryPi #1326

Closed
drwill-ms opened this issue Feb 27, 2019 — with docs.microsoft.com · 12 comments
Closed

RaspberryPi #1326

drwill-ms opened this issue Feb 27, 2019 — with docs.microsoft.com · 12 comments

Comments

Copy link

This works on a RaspberryPi except for the hardcoded processor architecture of amd64. When I ran that, I got an error "/usr/bin/az: line 2: /opt/az/bin/python3: cannot execute binary file: Exec format error".

We should update the step to indicate the right processor architecture for your linux target.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

@sptramer
Copy link
Contributor

@tjprescott Do we currently offer an ARM package for the CLI, or is this also a feature request?

@tjprescott
Copy link
Contributor

No, we don't.
Azure/azure-cli#7368

@sptramer
Copy link
Contributor

@drwill-ms It looks like ARM packages are still a feature request at this point. You should follow the issue linked by @tjprescott above, and see when they're made available. At that time I'll update the documentation to take processor architecture into account.

@stefanzvonar
Copy link

Am receiving this same error on a Raspberry Pi 3 B+ (Arm64). Any advice on how to get past this?

pi@raspberrypi:~ $ az login /usr/bin/az: line 2: /opt/az/bin/python3: cannot execute binary file: Exec format error
Using steps in doco:
https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-apt?view=azure-cli-latest

Am trying to create basic iotedge image recognition, with the raspberry pi. Essentially this lab: https://dev.to/azure/creating-an-image-recognition-solution-with-azure-iot-edge-and-azure-cognitive-services-4n5i

@sptramer
Copy link
Contributor

@stefanzvonar As I mentioned above on this thread, there are no arm64 binaries. The install page will be updated when some are available.

@Joseluismantilla
Copy link

Joseluismantilla commented Aug 5, 2019

I created a few minutes another thread for ARM binaries due to those are boards for developers, it would be unacceptable don't have the Azure-cli.

@Philmon22
Copy link

The libraries have been release for .NET core 3.0. https://docs.microsoft.com/en-us/dotnet/core/linux-prerequisites?tabs=netcore30. I have installed the dotnet 3 on the raspberry pi, but the client states I need dotnet core 2.1.

@codepoet80
Copy link

Another vote for Raspberry Pi binaries, please. The NodeJS samples are broken, and without the CLI, the Python Quickstart is useless too. The Pi has to be the most common IOT device out there...

@markvogt
Copy link

HERE IT IS MAY 2020...
... and while the RaspberryPi (I used RPi4) is far-and-AWAY the MOST POPULAR "Edge Device" on the PLANET...
... MICROSOFT (yeah - the "Microsoft Linux" Microsoft) still HASN'T created an AzureCLI with binaries for the RPi4's ARM64 architecture.

WHAT WILL IT TAKE Microsoft ?????

FYI, I TRIED the github.com project from 2 years ago, and it WORKS, but it's MISSING the command "az webapp up" that I NEEDED to deploy new API Apps to the Azure Cloud Services, so THAT option is a BUST as well :-( ...

BACK to coding Python on my WINDOWS 10 laptop - BUMMER...

@Philmon22
Copy link

I have azure kicking off a Jenkins job on my pi so i guess I am fine with it.

@dbradish-microsoft
Copy link
Collaborator

@fengzhou-msft , is "an AzureCLI with binaries for the RPi4's ARM64 architecture." in the backlog, or has this CLI product request been delivered in a different way?

@fengzhou-msft
Copy link
Contributor

@dbradish-microsoft it's tracked here: Azure/azure-cli#7368

@jiasli jiasli closed this as completed Sep 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests