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

Install Azure-Cli on Redhat 7 Linux #29781

Open
IndhumathiGopal opened this issue Aug 26, 2024 · 3 comments
Open

Install Azure-Cli on Redhat 7 Linux #29781

IndhumathiGopal opened this issue Aug 26, 2024 · 3 comments
Assignees
Labels
Azure CLI Team The command of the issue is owned by Azure CLI team customer-reported Issues that are reported by GitHub users external to the Azure organization. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that Similar-Issue
Milestone

Comments

@IndhumathiGopal
Copy link

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.

@IndhumathiGopal IndhumathiGopal added the bug This issue requires a change to an existing behavior in the product in order to be resolved. label Aug 26, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the customer-reported Issues that are reported by GitHub users external to the Azure organization. label Aug 26, 2024
@yonzhan
Copy link
Collaborator

yonzhan commented Aug 26, 2024

Thank you for opening this issue, we will look into it.

Copy link

Here are some similar issues that might help you. Please check if they can solve your problem.

@yonzhan yonzhan added question The issue doesn't require a change to the product in order to be resolved. Most issues start as that Azure CLI Team The command of the issue is owned by Azure CLI team and removed bug This issue requires a change to an existing behavior in the product in order to be resolved. labels Aug 26, 2024
@yonzhan yonzhan added this to the Backlog milestone Aug 26, 2024
@bebound
Copy link
Contributor

bebound commented Aug 27, 2024

CentOS 7 and this script are both deprecated.

Please check this doc to manually install CLI with pip: #20476

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Azure CLI Team The command of the issue is owned by Azure CLI team customer-reported Issues that are reported by GitHub users external to the Azure organization. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that Similar-Issue
Projects
None yet
Development

No branches or pull requests

5 participants
@bebound @yonzhan @IndhumathiGopal and others