Cannot install extensions
@bquantump is already working on this.
Since Jan 13, 2021.
Assessment
This issue has not been assessed yet.
Description
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Azure/azure-cli-dev-tools
-
Difficulty 1/5 Under an hour Newbie friendliness 65/100
Azure/azure-cli-dev-tools#310 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 38/100
Azure/azure-cli-dev-tools#529 ·
-
Check random default into metadata change whitelist.txtMay be free again @AllyW claimed this 512 days ago, and no pull request is open. Open
Azure/azure-cli-dev-tools#525 · 1 assignee ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
Azure/azure-cli-dev-tools#520 ·
-
`azdev extension remove` does not clear its corresponding source code path in `sys.path` when its package name is not its folder nameMay be free again @AllyW claimed this 549 days ago, and no pull request is open. Open
Azure/azure-cli-dev-tools#519 · 1 comment · 1 reaction · 1 assignee ·
All issues in Azure/azure-cli-dev-tools
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
conda-forge/conda-build-feedstock#289 · 1 comment · 1 reaction ·
-
`pulptest` no longer works in 4.0.0: `ImportError: Start directory is not importable: 'pulp/tests'`Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
remove reddit feedsOpen
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
TomCasavant/ohio-sites#224 ·