Package Details: python-azure-cli 2.8.0-1

Git Clone URL: (read-only, click to copy)
Package Base: python-azure-cli
Description: Microsoft Azure Command-Line Tools
Upstream URL:
Licenses: MIT
Submitter: optlink
Maintainer: lukaszimmermann (pallxk)
Last Packager: pallxk
Votes: 9
Popularity: 0.025151
First Submitted: 2017-03-19 19:11
Last Updated: 2020-06-25 08:02

Latest Comments

1 2 3 4 Next › Last »

hoban commented on 2020-04-02 15:20

In case it's helpful to anyone else, I had trouble building this package until after running 'pip uninstall azure_cli_command_modules_nspkg' in a "direnv"-managed directory. There's probably something that can be done with e.g. to avoid this sort of issue: ... Copying azure_cli_command_modules_nspkg.egg-info to /home/hoban/.cache/yay/python-azure-cli/pkg/python-azure-cli/home/hoban/src/project/.direnv/python-3.8.2/lib/python3.8/site-packages/azure_cli_command_modules_nspkg-2.0.3-py3.8.egg-info running install_scripts /home/hoban/.cache/yay/python-azure-cli/src/azure-cli-azure-cli-2.3.1/src rm: cannot remove '/home/hoban/.cache/yay/python-azure-cli/pkg/python-azure-cli/usr/lib/python3.?/site-packages/azure/': No such file or directory ==> ERROR: A failure occurred in package(). Aborting... Error making: python-azure-cli

pallxk commented on 2020-04-02 05:40

@dctcheng Thanks for the feedback. 0.7.0rc for python-knack has been updated on AUR now.

dctcheng commented on 2020-04-01 15:08

Looks like 2.3.0 depends on a RC for python-knack

pallxk commented on 2020-01-19 03:08

@felis Thanks for you report and solution. Fixed.

felis commented on 2020-01-19 02:32

[felis@user-pc ~]$ az vm create The command failed with an unexpected error. Here is the traceback:

No module named 'antlr4' Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/knack/", line 206, in invoke cmd_result = self.invocation.execute(args) File "/usr/lib/python3.8/site-packages/azure/cli/core/commands/", line 528, in execute self.commands_loader.load_arguments(command) File "/usr/lib/python3.8/site-packages/azure/cli/core/", line 300, in load_arguments loader.load_arguments(command) # this adds entries to the argument registries File "/usr/lib/python3.8/site-packages/azure/cli/command_modules/vm/", line 31, in load_arguments from azure.cli.command_modules.vm._params import load_arguments File "/usr/lib/python3.8/site-packages/azure/cli/command_modules/vm/", line 31, in <module> from azure.cli.command_modules.monitor.actions import get_period_type File "/usr/lib/python3.8/site-packages/azure/cli/command_modules/monitor/", line 7, in <module> import antlr4 ModuleNotFoundError: No module named 'antlr4'

To open an issue, please run: 'az feedback'

Fixed it by installing python-antlr4 . Maybe add that as dependency?

badeball commented on 2020-01-10 12:28

Installed at 2020-01-10, but get the following error. Anyone familiar with it?

$ az --help
Traceback (most recent call last):
  File "/usr/lib/python3.8/", line 193, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.8/", line 86, in _run_code
    exec(code, run_globals)
  File "/usr/lib/python3.8/site-packages/azure/cli/", line 33, in <module>
    az_cli = get_default_cli()
  File "/usr/lib/python3.8/site-packages/azure/cli/core/", line 547, in get_default_cli
    from azure.cli.core.azlogging import AzCliLogging
  File "/usr/lib/python3.8/site-packages/azure/cli/core/", line 30, in <module>
  File "/usr/lib/python3.8/site-packages/azure/cli/core/commands/", line 29, in <module>
    from azure.cli.core.util import get_command_type_kwarg, read_file_content, get_arg_list, poller_classes
  File "/usr/lib/python3.8/site-packages/azure/cli/core/", line 19, in <module>
    from azure.common import AzureException
ModuleNotFoundError: No module named 'azure.common'

thof commented on 2019-12-21 14:40

I've seen that error too, plus it also complained about missing azure.cli module. I finally solved that reinstalling all azure-related packages, i.e. yay -Rs python-azure-cli && yay -S python-azure-cli. The important point is that I had to clean all existing builds so they could be built again on updated environment.

mwohlf commented on 2019-12-19 16:59

I see this error:

$ az --help
Traceback (most recent call last):
  File "/usr/lib/python3.8/", line 192, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.8/", line 85, in _run_code
    exec(code, run_globals)
  File "/usr/lib/python3.8/site-packages/azure/cli/", line 10, in <module>
    from knack.completion import ARGCOMPLETE_ENV_NAME
ModuleNotFoundError: No module named 'knack'


  $ pacman -Q python-knack
  python-knack 0.6.3-1

...hmmm, resolved by $ sudo pip install knack maybe my python install has some issues

pallxk commented on 2019-11-25 06:46

@enihcam, updated to 2.0.76 and patched for python3.8; Sorry for the long delay.

enihcam commented on 2019-11-16 02:47

Thank you Jammie.

I can see this is only one line change. Can we hotfix this for Archlinux first?