-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
rdbms-connect install fails with pip status code 2 #25188
Comments
@bebound for awareness |
I can't repro. I'm using MacOS 13.1 ARM64. Thanks for your report. If anyone meet the same error, he can try your advice: |
Thank you for your feedback. This has been routed to the support team for assistance. |
I've the same issue on my windows machine and in azure pipelines. This is my shrinked output because comment length limit command: output tail:
|
@nschoenberg Please see #25067 |
I have same issue on Windows. pip._vendor.pyproject_hooks._impl.BackendUnavailable: Traceback (most recent call last): Removed pendulum>=2.1.0 from https://files.pythonhosted.org/packages/db/15/6e89ae7cde7907118769ed3d2481566d05b5fd362724025198bb95faf599/pendulum-2.1.2.tar.gz (from pgcli==3.4.1->rdbms-connect==1.0.4) from build tracker 'C:\Users\joguerin\AppData\Local\Temp\pip-build-tracker-pdhzelst' DEBUG: cli.azure.cli.core.extension.operations: Command '['C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\python.exe', '-m', 'pip', 'install', '--target', 'C:\Users\joguerin\.azure\cliextensions\rdbms-connect', 'C:\Users\joguerin\AppData\Local\Temp\tmpzbz1nvtl\rdbms_connect-1.0.4-py2.py3-none-any.whl', '-vv', '--disable-pip-version-check', '--no-cache-dir']' returned non-zero exit status 2. ERROR: cli.azure.cli.core.azclierror: An error occurred. Pip failed with status code 2. Use --debug for more information. |
Related command
az extension add --name rdbms-connect
Describe the bug
Trying to install the rdbms-connect extension fails and retuns
pip failed with status code 2
. By running the above command with the --debug flag I saw that the modulepoetry
was not found. Manually installing poetry withpip install poetry
fixed the bug. (See additional context for relevant debug output)To Reproduce
Run
az extension add --name rdbms-connect
on a clean macOS 12.6.2 environment.Expected behavior
The rdbms-connect extension gets installed with having to manually install a dependency.
Environment summary
Install method:
az extension add --name rdbms-connect
OS Version:
macOS Monterey v12.6.2
az version:
2.44.1
python version:
3.10.9
pip version:
22.3.1
shell type:
zsh
(oh-my-zsh)Additional context
The text was updated successfully, but these errors were encountered: