参考:
上記記事を参考に、windows11上に機械学習の環境構築をしました。
コントロールパネル->プログラム->Windowsの機能の有効化または無効化から、Linux用Windowsサブシステムにチェックを入れ、再起動します。
WSLにUbuntuをインストールします。
Ubuntu22.04のインストール
> wsl --install -d Ubuntu-22.04
Ubuntuを立ち上げたところ、以下のようなエラーが出ました。
Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x800701bc
Error: 0x800701bc WSL 2 ???????????? ??????????????????????? https://aka.ms/wsl2kernel ?????????
Press any key to continue...
以下のコマンドでWSL を再インストールしたら解決しました。
> wsl --update