Attempt 1: python .\mouse-speed.py — exit 1, durationMs 545 {"event": "runtime", "pid": 22104, "python": "3.12.10", "pointerBits": 64} {"event": "nativeResult", "api": "SetProcessDPIAware", "result": 1} {"event": "nativeResult", "api": "SPI_GETMOUSESPEED", "result": 1, "error": null} {"event": "start", "original": 10, "first": 1} {"event": "nativeResult", "api": "SPI_SETMOUSESPEED", "result": 0, "error": 5} {"event": "failure", "stage": "effect", "type": "PermissionError", "message": "[WinError 5] \u62d2\u7edd\u8bbf\u95ee\u3002"} {"event": "nativeResult", "api": "SPI_SETMOUSESPEED", "result": 0, "error": 5} {"event": "cleanupFailure", "stage": "restore", "type": "PermissionError", "message": "[WinError 5] \u62d2\u7edd\u8bbf\u95ee\u3002"} {"event": "summary", "status": "failed", "failure": {"stage": "effect", "type": "PermissionError", "message": "[WinError 5] \u62d2\u7edd\u8bbf\u95ee\u3002"}, "cleanupErrors": [{"stage": "restore", "type": "PermissionError", "message": "[WinError 5] \u62d2\u7edd\u8bbf\u95ee\u3002"}]} Attempt 2: python .\mouse-speed.py — exit 1, durationMs 302 {"event": "runtime", "pid": 45516, "python": "3.12.10", "pointerBits": 64} {"event": "nativeResult", "api": "SetProcessDPIAware", "result": 1} {"event": "nativeResult", "api": "SPI_GETMOUSESPEED", "result": 1, "error": null} {"event": "start", "original": 10, "first": 1} {"event": "nativeResult", "api": "SPI_SETMOUSESPEED", "result": 0, "error": 5} {"event": "failure", "stage": "effect", "type": "PermissionError", "message": "[WinError 5] \u62d2\u7edd\u8bbf\u95ee\u3002"} {"event": "nativeResult", "api": "SPI_SETMOUSESPEED", "result": 0, "error": 5} {"event": "cleanupFailure", "stage": "restore", "type": "PermissionError", "message": "[WinError 5] \u62d2\u7edd\u8bbf\u95ee\u3002"} {"event": "summary", "status": "failed", "failure": {"stage": "effect", "type": "PermissionError", "message": "[WinError 5] \u62d2\u7edd\u8bbf\u95ee\u3002"}, "cleanupErrors": [{"stage": "restore", "type": "PermissionError", "message": "[WinError 5] \u62d2\u7edd\u8bbf\u95ee\u3002"}]} Attempt 3: py -0p 2>&1; Write-Output '---'; Get-Command python, python3, py -ErrorAction SilentlyContinue | Select-Object Name,Source — exit 0, durationMs 1857 程序“py.exe”无法运行: 句柄无效。所在位置 行:2 字符: 1 + py -0p 2>&1; Write-Output '---'; Get-Command python, python3, py -Err ... + ~~~~~~~~~~~。 所在位置 行:2 字符: 1 + py -0p 2>&1; Write-Output '---'; Get-Command python, python3, py -Err ... + ~~~~~~~~~~~ + CategoryInfo : ResourceUnavailable: (:) [], ApplicationFailedException + FullyQualifiedErrorId : NativeCommandFailed --- Name Source ---- ------ python.exe [operator-profile]\AppData\Local\Programs\Python\Python312\python.exe python3.exe [operator-profile]\AppData\Local\Microsoft\WindowsApps\python3.exe py.exe [operator-profile]\AppData\Local\Programs\Python\Launcher\py.exe Attempt 4: python3 .\mouse-speed.py — exit 1, durationMs 180 程序“python3.exe”无法运行: 系统无法访问此文件。所在位置 行:2 字符: 1 + python3 .\mouse-speed.py + ~~~~~~~~~~~~~~~~~~~~~~~~。 所在位置 行:2 字符: 1 + python3 .\mouse-speed.py + ~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ResourceUnavailable: (:) [], ApplicationFailedException + FullyQualifiedErrorId : NativeCommandFailed