- Enable SVM in BIOs of your PC.
- Enable WSL in Windows.
- Update WSL to latest version such that it has manage option.
- Move WSL to your favorite Drive.
- Install Ubuntu via
wsl --install Ubuntu-xx.xx
. - Install apt packages before getting pyenv.
sudo apt-get install libssl-dev libffi-dev liblzma-dev python3-tk tk-dev libreadline-dev bzip2