OSError: [WinError 87] The parameter is incorrect
By any chance, do you have COMODO Antivirus installed and running (or any other third-party antivirus)? Maybe try to turn it off to see if it makes any difference.
I had the exact same WinError 87, strange location error. (Win10/RenderDoc1.13/MMIv0.4.1/Blender v3.0.1/SacreCoeur).
=> It turned out, this was my COMODO Antivirus software messing somehow.https://github.com/eliemichel/MapsModelsImporter/issues/180#issuecomment-1037621133
I’m not sure why exactly the WinError 87 was thrown, but I managed to solve the issue by shutting off auto containment in Comodo.