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

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

软件技巧 Zero、J 2260℃ 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,您需要填写昵称和邮箱!

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

致:那些天天发邮件购买网站的RZ们

  • 我只是博客不更新了,不代表我域名上没有其他服务在运行,PS:服务器2027年到期。
    况且,你们自己心里很清楚你们买域名是干嘛的!不要在垃圾邮件OK?
    随便测试一下你们的 mail/domain 信息,笑死~~ 但凡有一个正经的,我都会回复一下。