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

ModuleNotFoundError: No module named '_cffi_backend' #30744

Closed
tobiusaolo opened this issue Feb 2, 2025 · 3 comments
Closed

ModuleNotFoundError: No module named '_cffi_backend' #30744

tobiusaolo opened this issue Feb 2, 2025 · 3 comments
Labels
AKS az aks/acs/openshift Auto-Assign Auto assign by bot Auto-Resolve Auto resolve by bot customer-reported Issues that are reported by GitHub users external to the Azure organization. Possible-Solution Service Attention This issue is responsible by Azure service team. Similar-Issue

Comments

@tobiusaolo
Copy link

This is autogenerated. Please review and update as needed.

Describe the bug

Command Name
az aks install-cli

Errors:

Connection error while attempting to download client ([Errno 13] Permission denied: '/usr/local/bin/kubectl')

To Reproduce:

Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

  • Put any pre-requisite steps here...
  • az aks install-cli

Expected Behavior

Environment Summary

Linux-5.4.0-186-generic-x86_64-with-glibc2.31
Python 3.10.14
Shell: bash

azure-cli 2.0.81

Additional Context

Copy link

Hi @tobiusaolo,

This is not the official Azure CLI published by Microsoft.

How to tell if the installed Azure CLI is unofficial:

Please follow https://learn.microsoft.com/en-us/cli/azure/install-azure-cli-linux to install Microsoft official Azure CLI.

If you feel that further discussion is needed, please add a comment with the text /clibot unresolve to reopen the issue.

@yonzhan
Copy link
Collaborator

yonzhan commented Feb 2, 2025

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

Copy link

github-actions bot commented Feb 2, 2025

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


Possible solution (Extracted from existing issue, might be incorrect; please verify carefully)

Solution 1:

In Cloud Shell only your home directory is writable, you can't update /usr.

Reference:

Solution 2:

Either run sudo az aks install-cli or install it to a different directory that you have permission over.

Reference:

@microsoft-github-policy-service microsoft-github-policy-service bot added customer-reported Issues that are reported by GitHub users external to the Azure organization. AKS az aks/acs/openshift Service Attention This issue is responsible by Azure service team. Auto-Assign Auto assign by bot labels Feb 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AKS az aks/acs/openshift Auto-Assign Auto assign by bot Auto-Resolve Auto resolve by bot customer-reported Issues that are reported by GitHub users external to the Azure organization. Possible-Solution Service Attention This issue is responsible by Azure service team. Similar-Issue
Projects
None yet
Development

No branches or pull requests

2 participants