报错:installing, this may take a few minutes... wslregisterdistribution failed with error: 0x803b0001

 报错的原因在于可能默认安装了wsl2

管理员打开终端改为:

wsl --set-default-version 1

然后再打开:报错:installing, this may take a few minutes... wslregisterdistribution failed with error: 0x803b0001_第1张图片就可以了

报错:installing, this may take a few minutes... wslregisterdistribution failed with error: 0x803b0001_第2张图片

留个安装方式 

报错:installing, this may take a few minutes... wslregisterdistribution failed with error: 0x803b0001_第3张图片

除此之外,检查电脑,打开这个

然后选中:

报错:installing, this may take a few minutes... wslregisterdistribution failed with error: 0x803b0001_第4张图片

如果之前没有打√,勾选后需要根据提示重启电脑

Windows终端输入: wsl --set-default-version 1

然后启动报错:installing, this may take a few minutes... wslregisterdistribution failed with error: 0x803b0001_第5张图片这个Ubuntu就可以了,然后就是设置账号密码

另一种方法可以下载:

chttps://wslstorestorage.blob.core.windows.net/wslblob/wsl_update_x64.msi

然后无脑安装就行,安装好就可以打开Ubuntu了 (你自己得在微软商店下个想要的Ubuntu版本)

⭐附-官网安装地址:安装 WSL | Microsoft Learn

你可能感兴趣的:(WSL,python,windows,ubuntu)