Skip to content

Install script (and subsequent uses of the aws command) result in error #9795

@luke-e-schaefer

Description

@luke-e-schaefer

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

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

Metadata

Metadata

Assignees

Labels

closing-soonThis issue will automatically close in 4 days unless further comments are made.installationp3This is a minor priority issueresponse-requestedWaiting on additional info and feedback. Will move to "closing-soon" in 7 days.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions