Skip to content

Install Azure-Cli on Redhat 7 Linux #29781

@IndhumathiGopal

Description

@IndhumathiGopal

Describe the bug

I am running below script to install azure cli on linux.

https://azurecliprod.blob.core.windows.net/install.py

I have downloaded all necessary packages and placed them in my machine. Native dependencies checks are okay. It failed in install-cli step. I have python 3.6 and venv is created based on microsoft recommendations.

Related command

cmd = [path_to_pip, 'install', '--cache-dir', tmp_dir, 'azure-cli', '--upgrade']
exec_command(cmd)

Errors

ERROR:Could not find a version that satisfies the requirement azure-cli (from versions: none)
ERROR: No distributions matching the version for azure-cli

Issue script & Debug output

returned non-zero exit status

Expected behavior

Azure cli installed

Environment Summary

azure-cli 2.36 version

Additional context

I have no access to run sudo or pip in my Linux machine.

Metadata

Metadata

Assignees

Labels

Azure CLI TeamThe command of the issue is owned by Azure CLI teamOKR CandidateThis label is used to track how many GitHub issues we have resolved for OKR purpose.Similar-Issuecustomer-reportedIssues that are reported by GitHub users external to the Azure organization.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions