Error: spawn python ENOENT

When checking my midi lists again i got this error:

A JavaScript error occurred in the main process: Uncaught Exception:
Error: spawn python ENOENT
at Process.ChildProcess._handle.onexit (internal/child_process.js:264:19)
at onErrorNT (internal/child_process.js:456:16)
at processTicksAndRejections (internal/process/task_queues.js:77:11)

Do you guys know a solution to this?

Assuming you're using the official package of the latest version, my guess is that your midi option in the server configuration contains something like path=some/path/to/python, this part should be removed (the tutorial that lead you to write it is outdated).

Where can i edit this ?

In the "midi" field of the launcher window.

It seemed like windows antivirus quarantined some server midi code, downloaded the latest version of osc and it got fixed

Ok cool ! False positive virus alerts may become less likely to happen starting with v1.9.2.