bebound / azure-cli

Azure Command-Line Interface
MIT License
0 stars 0 forks source link

Azure CLI stopped working after update: ImportError: DLL load failed while importing win32file: The specified procedure could not be found. #23

Open bebound opened 1 year ago

bebound commented 1 year ago

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Cannot generate feedback with az feedback, all az commands are failing.

Related command az

Describe the bug Getting the following error:

Traceback (most recent call last):
  File "runpy.py", line 196, in _run_module_as_main
  File "runpy.py", line 86, in _run_code
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/__main__.py", line 14, in <module>
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/telemetry.py", line 19, in <module>
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/telemetry/__init__.py", line 9, in <module>
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\portalocker/__init__.py", line 4, in <module>
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\portalocker/portalocker.py", line 11, in <module>
ImportError: DLL load failed while importing win32file: The specified procedure could not be found.

To Reproduce Type az

Expected behavior Should work

Environment summary

Install Method MSI (azure-cli-2.44.1.msi) Windows 10 OS version Powershell

Copy from https://github.com/Azure/azure-cli/issues/25144

similar-bot-test[bot] commented 1 year ago
Find similar issue https://github.com/Azure/azure-cli/issues/20908.
Issue title [ERROR] Quickstart: Create a Python app using Azure App Service on Linux
Create time 2022-01-05
Comment number 5