Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Cannot install extensions

Open
#277 1 comment 0 reactions 2 assignees View on GitHub

@bquantump is already working on this.

Since Jan 13, 2021.

Assessment

This issue has not been assessed yet.

Description

wait-for-customer-response

Hi there :)
I've followed video tutorial instructions in Windows machine. I'm unable to install extensions.
My python3 version is 3.9.1.
Here is the command:

$ azdev extension add azure-firewall

Here is the result:

Command '['C:\\Users\\coder\\source\\repos\\env\\Scripts\\python', '-m', 'pip', 'install', '-e', 'C:\\Users\\coder\\source\\repos\\azure-cli-extensions\\src\\azure-firewall']' returned non-zero exit status 1.
Traceback (most recent call last):
  File "c:\users\coder\source\repos\env\lib\site-packages\knack\cli.py", line 206, in invoke
    cmd_result = self.invocation.execute(args)
  File "c:\users\coder\source\repos\env\lib\site-packages\knack\invocation.py", line 208, in execute
    cmd_result = parsed_args.func(params)
  File "c:\users\coder\source\repos\env\lib\site-packages\knack\commands.py", line 139, in __call__
    return self.handler(*args, **kwargs)
  File "c:\users\coder\source\repos\env\lib\site-packages\knack\commands.py", line 246, in _command_handler
    result = op(client, **command_args) if client else op(**command_args)
  File "c:\users\coder\source\repos\env\lib\site-packages\azdev\operations\extensions\__init__.py", line 43, in add_extension
    raise result.error  # pylint: disable=raising-bad-type
  File "c:\users\coder\source\repos\env\lib\site-packages\azdev\utilities\command.py", line 50, in cmd
    output = subprocess.check_output(
  File "C:\Python39\lib\subprocess.py", line 420, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
  File "C:\Python39\lib\subprocess.py", line 524, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['C:\\Users\\coder\\source\\repos\\env\\Scripts\\python', '-m', 'pip', 'install', '-e', 'C:\\Users\\coder\\source\\repos\\azure-cli-extensions\\src\\azure-firewall']' returned non-zero exit status 1.

Thanks for supplying this wonderful tool.

Giacomo S. S.

PS: btw, is there a guide to put the source in debug?

Dominant language
Python
Stars
91
Forks
134
Avg merge
2h 51m
Merged PRs (30d)
1

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Azure/azure-cli-dev-tools

All issues in Azure/azure-cli-dev-tools

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.