I don't know why your error is happening, but it might be WSL.
Don't use WSL... either use a VM or install linux and dual-boot.