Skip to content

Azure-Identity SDK not working in python 3.6 on windows #12014

@qianwens

Description

@qianwens
  • Package Name:
  • Package Version:
  • Operating System:
  • Python Version:

Describe the bug
import Azure-Identity SDK in python 3.6 on windows will throw "OSError: [Errno 22] Invalid argument". 

Error stack
  File "C:\Users\VSSADM1\AppData\Local\Temp\pip-install-u8z3aah0\azure-identity\azure\identity_init_.py", line 10, in   File "C:\Users\VSSADM1\AppData\Local\Temp\pip-install-u8z3aah0\azure-identity\azure\identity_credentials_init_.py", line 10, in
  File "C:\Users\VSSADM1\AppData\Local\Temp\pip-install-u8z3aah0\azure-identity\azure\identity_credentials\default.py", line 15, in
  File "C:\Users\VSSADM
1\AppData\Local\Temp\pip-install-u8z3aah0\azure-identity\azure\identity_credentials\azure_cli.py", line 30, in
OSError: [Errno 22] Invalid argument

This is caused by an bug in python 3.6 https://github.com/home-assistant/appdaemon/issues/83 , but it still impact customer since lots of customer are using python 3.6 and Azure CLI embed python 3.6 in its MSI. This issue is blocking Azure CLI beta release.

To Reproduce
Steps to reproduce the behavior:
1.

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

Labels

Azure.IdentityClientThis issue points to a problem in the data-plane of the library.bugThis issue requires a change to an existing behavior in the product in order to be resolved.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions