-
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
az extension add --name azure-firewall #30594
Comments
Thank you for opening this issue, we will look into it. |
@Vijayraghul87 what exactly is your error (message)? |
@necusjz az extension add --name azure-firewall |
Here are some similar issues that might help you. Please check if they can solve your problem.
Possible solution (Extracted from existing issue, might be incorrect; please verify carefully) Solution 1:Please try the following action plan:
Reference: Solution 2:Try running the following command to manually install the extension:
This command does the same thing as Reference: |
This issue also happens with Does not work on 2.66.0 and 2.67.0. Works on 2.65.0. v2.67.0 Stdout logs
The problem seems to be that the CPython interpreter ( v2.67.0 Logs
Last good version: v2.65.0v2.65.0 stdout logs
v2.65.0 logs
|
@0x326 and @Vijayraghul87 , we tried |
@AllyW, I upgraded from version
Also installing a new extensions fails with the same error message.
According to you question, I got the following result.
Using a slightly different command aborts with
The full output is already documented at comment. |
@0x326 Thanks for the log. I see What's the version of this Python? Previously, I met an issue that 3.12.6's module is not compatible with 3.12.7. I assume the Python you installed is interfere with CLI's bundled Python. Here is the ultimate solution for this: #29630 (comment) |
The scripts are installed in <base>/Scripts, but PYTHONPATH was set to <scripts>/src, although this directory doesn't even exist. I guess the deployment used to be in src, but this is no longer the case. Setting PYTHONPATH is done to avoid conflicts with other installations of Python on the same machine. When it is set incorrectly, Python tend to crash on startup (typically when loading incompatible ctypes). Fixes Azure#28004, Azure#29630, Azure#30517, Azure#30536, Azure#30594, Azure#30700, Azure#30792.
The scripts are installed in <base>/Scripts, but PYTHONPATH was set to <scripts>/src, although this directory doesn't even exist. I guess the deployment used to be in src, but this is no longer the case. Setting PYTHONPATH is done to avoid conflicts with other installations of Python on the same machine. When it is set incorrectly Python tends to crash on startup (typically when loading incompatible ctypes). Fixes Azure#28004, Azure#29630, Azure#30517, Azure#30536, Azure#30594, Azure#30700, Azure#30792.
The scripts are installed in <base>/Scripts, but PYTHONPATH was set to <scripts>/src, although this directory doesn't even exist. I guess the deployment used to be in src, but this is no longer the case. Setting PYTHONPATH is done to avoid conflicts with other installations of Python on the same machine. When it is set incorrectly Python tends to crash on startup (typically when loading incompatible ctypes). Fixes Azure#28004, Azure#29630, Azure#30517, Azure#30536, Azure#30594, Azure#30700, Azure#30792.
Setting PYTHONPATH is done to avoid conflicts with other installations of Python on the same machine. When it is set incorrectly Python tends to crash on startup (typically when loading incompatible ctypes). There were old scripts in <base>/Scripts, which set PYTHONPATH so that Python prefers the bundled libs over the system ones. The problem with these scripts is that they set the wrong path. But these scripts no longer seem to be used. They were replaced by new ones in wbin. The problem with those is that PYTHONPATH was not set at all in them. Update the scripts to set PYTHONPATH correctly, both for bash and cmd. Fixes Azure#28004, Azure#29630, Azure#30517, Azure#30536, Azure#30594, Azure#30700, Azure#30792.
Setting PYTHONPATH is done to avoid conflicts with other installations of Python on the same machine. When it is set incorrectly Python tends to crash on startup (typically when loading incompatible ctypes). There were old scripts in <base>/Scripts, which set PYTHONPATH so that Python prefers the bundled libs over the system ones. The problem with these scripts is that they set the wrong path. But these scripts no longer seem to be used. They were replaced by new ones in wbin. The problem with those is that PYTHONPATH was not set at all in them. Update the scripts to set PYTHONPATH correctly, both for bash and cmd. Fixes Azure#25067, Azure#28004, Azure#29630, Azure#30517, Azure#30536, Azure#30594, Azure#30700, Azure#30792.
This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az extension add
Errors:
To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.
az extension add --name {}
Expected Behavior
Environment Summary
Additional Context
The text was updated successfully, but these errors were encountered: