Enable WSL2 Download
Enable Virtual Machine Platform
\n\nWSL2 requires the "Virtual Machine Platform" feature of Windows 10 to be enabled. It is independent of Hvper-V and offers some of the more interesting platform integrations available in the new version of the Windows subsystem for Linux.
\n\nTo enable the virtual machine platform on * * Windows 10 (2004) * *, open PowerShell or cmd as an administrator and run:
\n\ndism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
\n\nCheck if it can be installed
\n\nYour computer requires the following configuration:
\n\nWindows 10 May 2020 (2004), Windows 10 May 2019 (1903), or Windows 10 November 2019 (1909)
\n\n· - computers supporting Hyper-V virtualization,
\n\nTo see if Hyper-V is supported:
\n\n· Open cmd and enter: systeminfo
\n\nView Hyper-V Information
\n\nReference: https://blog.csdn.net/weixin_51245887/article/details/124393376