File Access Error – 'azure\core\rest_init_.py' Locked by Another Process

M. Yasir 20 Reputation points
2025-05-27T14:58:54.6566667+00:00

I am encountering an error when trying to run a process involving the Azure SDK for Python. The system returns the following error message: Please fix this issue.

The process cannot access the file 'C:\userenv\Lib\site-packages\azure\core\rest_init_.py' because it is being used by another process.

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,366 questions
{count} votes

Accepted answer
  1. Ashok Gandhi Kotnana 10,035 Reputation points Microsoft External Staff Moderator
    2025-06-09T16:28:24.64+00:00

    @M. Yasir

    This morning, an issue was discovered affecting Python 3.8 runbooks that attempt to import Azure packages. To address this, a new deployment is being rolled out across all regions to resolve the problem,

    Please confirm if your issue has been resolved?

    Thankyou

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.