Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x80070002
Error: 0x80070002 The system cannot find the file specified.
Press any key to continue...
解决方法:
- 不要默认用wsl2,默认用wsl1(powershell打开后输入
wsl --set-default-version 1
) - 重新安装发行版
wsl --install -d Debian
。 - 切换到wsl2
wsl --set-default-version 2