Please enable the Virtual Machine Platform Windows feature and ensure virtualization is enabled in the BIOS
这个错误着实让人头疼。
第一:我确定电脑已经开启虚拟化技术
第二:我确定在程序和功能中启用了hpyer-v、虚拟机平台、子系统选项
结果还是提示这个错误,经过尝试使用下面命令并且重启操作系统即可解决问题:
wsl --set-version Ubuntu 2
wsl --set-default-version 2
DISM /Online /Enable-Feature /All /FeatureName:Microsoft-Hyper-V
bcdedit /set hypervisorlaunchtype auto