-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Description
Describe the bug
After downloading & unzipping, I ran the ./install script and this error popped up: [9282] Cannot open PyInstaller archive from executable (/home/myuser/binaries/aws/dist/aws) or external archive (/home/myuser/binaries/aws/dist/aws.pkg)
It appeared to install, but any subsequent uses of the command aws result in: [9285] Cannot open PyInstaller archive from executable (/usr/local/aws-cli/v2/dist/aws) or external archive (/usr/local/aws-cli/v2/dist/aws.pkg)
which aws -> /usr/local/bin/aws
aws --version -> [9340] Cannot open PyInstaller archive from executable (/usr/local/aws-cli/v2/dist/aws) or external archive (/usr/local/aws-cli/v2/dist/aws.pkg)
Regression Issue
- Select this option if this issue appears to be a regression.
Expected Behavior
install without that error, be able to use aws command
Current Behavior
aws command does not run
Reproduction Steps
-
download aws cli
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip awscliv2.zip
sudo ./aws/install -
use aws
aws --version
Possible Solution
No response
Additional Information/Context
I saw someone else report something similar but that did not fix it: #7314
however changing the permissions on the files/directories did not fix the issue
CLI version used
latest
Environment details (OS name and version, etc.)
Red Hat Enterprise Linux 8.10 (Ootpa) - Linux 4.18.0-553.60.1.el8_10.x86_64