学而实习之 不亦乐乎

Windows 10 安装ubuntu时报错

2020-07-26 16:27:50

Window10 安装 ubuntu 子系统,报错WslRegisterDistribution failed with error: 0x8007019e

如:

Installing, this may take a few minutes...
Installation Failed!
Error: 0x8007019e
Press any key to continue...

2.原因:

未安装Windows子系统支持。

3.解决办法:
[1].win+x,选择Windows PowerShell(管理员)
[2].输入:Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
[3].回车,输入Y,重启!
[4].重新打开已经安装的子系统,等几分钟,输入账户和密码。