Skip to content
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

azure-ai-ml failing on python 36 windows #24634

Closed
scbedd opened this issue May 27, 2022 · 1 comment
Closed

azure-ai-ml failing on python 36 windows #24634

scbedd opened this issue May 27, 2022 · 1 comment
Assignees
Labels
Central-EngSys This issue is owned by the Engineering System team.

Comments

@scbedd
Copy link
Member

scbedd commented May 27, 2022

The core of the problem is that...

  1. We have a transitive dependency on pywin32 from azure-identity in the dev_requirements for package azure-ai-ml
  2. During initial venv setup, we install eng/test_tools.txt and dev_requirements.txt
  3. Right before invoking pytest, we install the target package from whatever packaging method we're supposed to be testing.
  1. is where the error pops up:
Installing collected packages: pyjwt, pywin32, websocket-client, pyrsistent, importlib-resources, tqdm, pydash, pathspec, jsonschema, docker, azure-storage-file-share, azure-storage-blob, azure-identity, applicationinsights, azure-ai-ml
  Attempting uninstall: pyjwt
    Found existing installation: PyJWT 2.4.0
    Uninstalling PyJWT-2.4.0:
      Successfully uninstalled PyJWT-2.4.0
  Attempting uninstall: pywin32
    Found existing installation: pywin32 304
    Uninstalling pywin32-304:
      Successfully uninstalled pywin32-304
ERROR: Could not install packages due to an EnvironmentError: [WinError 5] Access is denied: 'c:\\repo\\sdk-for-python\\sdk\\ml\\azure-ai-ml\\.tox\\whl\\lib\\site-packages\\~ywin32_system32\\pythoncom36.dll'

This even happens when the correct, identical version of pywin32 is installed _already.

(snippet from pip freeze)

...
pytoml==0.1.21
pywin32==304
PyYAML==5.3.1
...

I cannot for the life of me understand why it's uninstalling, but that's where the error is coming from.

If it would just recognize the presence of the correct version, we would be ok. Need to resolve this error.

@scbedd scbedd added the Central-EngSys This issue is owned by the Engineering System team. label May 27, 2022
@scbedd scbedd self-assigned this May 27, 2022
@scbedd scbedd changed the title Azure-ai-ml failing on python 36 windows azure-ai-ml failing on python 36 windows May 27, 2022
@scbedd
Copy link
Member Author

scbedd commented May 27, 2022

@scbedd scbedd moved this from Triage to Dev in PR in Azure SDK EngSys 🤖🧠 May 27, 2022
@kurtzeborn kurtzeborn moved this from Dev in PR to Closed in Azure SDK EngSys 🤖🧠 Jun 2, 2022
@scbedd scbedd closed this as completed Jun 20, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Apr 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Central-EngSys This issue is owned by the Engineering System team.
Projects
None yet
Development

No branches or pull requests

1 participant