解决方法:
1、 运行powershell
2、在powershell中执行:wsl --shutdown
3、win键+r键,执行regedit
4、在Registry Editor 中找到\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Lxss
5、找到“DistributionName“” ,其值为“ Ubuntu20.04LTS”
6、将”Ubuntu20.04LTS” 改为“ Ubuntu-20.04”
参考资料:https://www.cnblogs.com/freephp/p/16152315.html