I am not sure from where this issue occurs.
I have a python script which uses EasyOCR and has been compiled to an exe. I am using this exe as a process in my asp.NET C# web api to make some OCR validation. When running the exe from command line or running via API from visual studio there is no issue but after I added this API to my local IIS and send a POST request to my API I got the following response from exe.
[WinError 5] Access is denied: 'C:\WINDOWS\system32\config\systemprofile\.EasyOCR'
When I checked the directory there is no folder like this, I tried to create this folder in there but got the same response.
Any help would be appreciated.
Regards