1 個回答
- 最新
- 最多得票
- 最多評論
2
Hello,
It looks like you have multiple versions of the AWS CLI installed per your original error message. I recommend uninstalling the older version located in /usr/local/aws-cli/v2/current
.
I followed the instructions you gave and was able to install the AWS CLI on a Raspberry Pi 4B with no error messages. Logs below for reference. This was a brand new install of Raspbian OS.
curl -O 'https://awscli.amazonaws.com/awscli-exe-linux-aarch64.zip' unzip awscli-exe-linux-aarch64.zip
root@kube-worker1:/home/pi# sudo ./aws/install You can now run: /usr/local/bin/aws --version root@kube-worker1:/home/pi# /usr/local/bin/aws --version aws-cli/2.7.22 Python/3.9.11 Linux/5.10.63-v8+ exe/aarch64.debian.11 prompt/off
相關內容
- 已提問 6 個月前
- 已提問 1 年前
- AWS 官方已更新 2 年前
- AWS 官方已更新 3 個月前
- AWS 官方已更新 3 個月前
At the install step, I get an "Exec format error":
@Nathanial that's odd considering an
Exec format error
means the operating system is not compatible. Are you running on 32bit RaspbianOS or 64bit? This AWS CLI package is only compatible with the 64bit OS. Can you check your OS version usinguname -a
?Okay, got it. I realize I am on a 32-bit Raspbian OS, and perhaps I should switch to a 64-bit OS: