az login - No module named 'ctypes' #30280
Labels
Account
az login/account
Auto-Assign
Auto assign by bot
Azure CLI Team
The command of the issue is owned by Azure CLI team
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Milestone
Describe the bug
Not able to use AZ CLI on SAW
Related command
az login
Errors
The command failed with an unexpected error. Here is the traceback:
The command failed with an unexpected error. Here is the traceback:
No module named 'ctypes'
Traceback (most recent call last):
File "C:\Users\VssAdministrator\AppData\Local\Temp\pip-target-6cbhvr91\lib\python\knack/cli.py", line 212, in invoke
File "D:\a\1\s\build_scripts\windows\artifacts\Python\Lib\site-packages\azure/cli/main.py", line 28, in skip_imports
File "C:\Users\VssAdministrator\AppData\Local\Temp\pip-target-6cbhvr91\lib\python\knack/_win_vt.py", line 11, in
File "D:\a\1\s\build_scripts\windows\artifacts\Python\Lib\site-packages\azure/cli/main.py", line 28, in skip_imports
ModuleNotFoundError: No module named 'ctypes'
No module named 'ctypes'
Traceback (most recent call last):
File "C:\Users\VssAdministrator\AppData\Local\Temp\pip-target-6cbhvr91\lib\python\knack/cli.py", line 212, in invoke
File "D:\a\1\s\build_scripts\windows\artifacts\Python\Lib\site-packages\azure/cli/main.py", line 28, in skip_imports
File "C:\Users\VssAdministrator\AppData\Local\Temp\pip-target-6cbhvr91\lib\python\knack/_win_vt.py", line 11, in
File "D:\a\1\s\build_scripts\windows\artifacts\Python\Lib\site-packages\azure/cli/main.py", line 28, in skip_imports
ModuleNotFoundError: No module named 'ctypes'
To check existing issues, please visit: https://github.com/Azure/azure-cli/issues
Issue script & Debug output
The command failed with an unexpected error. Here is the traceback:
The command failed with an unexpected error. Here is the traceback:
No module named 'ctypes'
Traceback (most recent call last):
File "C:\Users\VssAdministrator\AppData\Local\Temp\pip-target-6cbhvr91\lib\python\knack/cli.py", line 212, in invoke
File "D:\a\1\s\build_scripts\windows\artifacts\Python\Lib\site-packages\azure/cli/main.py", line 28, in skip_imports
File "C:\Users\VssAdministrator\AppData\Local\Temp\pip-target-6cbhvr91\lib\python\knack/_win_vt.py", line 11, in
File "D:\a\1\s\build_scripts\windows\artifacts\Python\Lib\site-packages\azure/cli/main.py", line 28, in skip_imports
ModuleNotFoundError: No module named 'ctypes'
No module named 'ctypes'
Traceback (most recent call last):
File "C:\Users\VssAdministrator\AppData\Local\Temp\pip-target-6cbhvr91\lib\python\knack/cli.py", line 212, in invoke
File "D:\a\1\s\build_scripts\windows\artifacts\Python\Lib\site-packages\azure/cli/main.py", line 28, in skip_imports
File "C:\Users\VssAdministrator\AppData\Local\Temp\pip-target-6cbhvr91\lib\python\knack/_win_vt.py", line 11, in
File "D:\a\1\s\build_scripts\windows\artifacts\Python\Lib\site-packages\azure/cli/main.py", line 28, in skip_imports
ModuleNotFoundError: No module named 'ctypes'
To check existing issues, please visit: https://github.com/Azure/azure-cli/issues
Expected behavior
az login should allow me to login
Environment Summary
az --version gives me the same error as above. I installed AzureCLI v2.55.0 from Software Center
Additional context
No response
The text was updated successfully, but these errors were encountered: