Azure / azure-cli

Azure Command-Line Interface
MIT License
4.02k stars 2.99k forks source link

webapp:Unable to run AZ webapp list from with WSL Ubuntu #19323

Open jadiaz opened 3 years ago

jadiaz commented 3 years ago

This is autogenerated. Please review and update as needed.

Describe the bug

Command Name az webapp list

Errors:

No module named 'decorator'
Traceback (most recent call last):
python3/dist-packages/fabric/connection.py, ln 5, in <module>
    from invoke.vendor.six import StringIO
ModuleNotFoundError: No module named 'invoke.vendor.six'

...

python3/dist-packages/fabric/connection.py, ln 10, in <module>
    from decorator import decorator
ModuleNotFoundError: No module named 'decorator'

To Reproduce:

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

Expected Behavior

Environment Summary

Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-glibc2.29
Python 3.8.10
Shell: bash

azure-cli 2.0.81

Extensions:
azure-devops 0.17.0

Additional Context

ghost commented 3 years ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @AzureAppServiceCLI, @antcp.

Issue Details
### **This is autogenerated. Please review and update as needed.** ## Describe the bug **Command Name** `az webapp list` **Errors:** ``` No module named 'decorator' Traceback (most recent call last): python3/dist-packages/fabric/connection.py, ln 5, in from invoke.vendor.six import StringIO ModuleNotFoundError: No module named 'invoke.vendor.six' ... python3/dist-packages/fabric/connection.py, ln 10, in from decorator import decorator ModuleNotFoundError: No module named 'decorator' ``` ## 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 webapp list` ## Expected Behavior ## Environment Summary ``` Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-glibc2.29 Python 3.8.10 Shell: bash azure-cli 2.0.81 Extensions: azure-devops 0.17.0 ``` ## Additional Context
Author: jadiaz
Assignees: -
Labels: `Web Apps`, `Service Attention`, `customer-reported`
Milestone: -
yonzhan commented 3 years ago

route to service team

panchagnula commented 3 years ago

Could be related to cli package in Ubuntu

jiasli commented 3 years ago

Please follow https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-linux?pivots=apt to install Azure CLI from Microsoft official source.