总有人间一两风,填我十万八千梦

启动Windows下的Linux子系统报错:the windows subsystem for linux optional component is not enabled. please enable it and try again.

软件技巧 Zero、J 2463℃ 0评论

原因

你只在Windows 商店中安装了对应的Linux系统,但是你没有开启Windows的 Microsoft-Windows-Subsystem-Linux WSL功能

方案1:

控制面板→程序→启用或关闭Windows功能,在列表中找到适用于Linux的Windows子系统,勾选上,点击确定,如图所示。

勾选适用于Linux的Windows子系统,开启WSL功能

方案2:

管理员身份运行 PowerShell ,输入命令:

Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux

开启WSL(Windows Subsystem Linux)功能。

转载请注明:悠然品鉴 » 启动Windows下的Linux子系统报错:the windows subsystem for linux optional component is not enabled. please enable it and try again.

喜欢 (0)or分享 (0)
发表我的评论
取消评论

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址