Closed GarethProdger closed 1 year ago
https://docs.microsoft.com/en-gb/windows/wsl/install
run wsl --install using powershell running as admin
I think you are saying that you need to do the above before getting ubuntu from the Microsoft store?
Will add this to the docs.
Thanks!
yes sort of. running the command above tries to install a previous version of ubuntu, but seams to set all the prerequisites which i think is just windows subsystem for linux in windows features. alternatively i could of ticked this setting and installed the latest version of ubunto. hopefully the older version should do the job.
you do need the latest version of ubuntu because of the python3.10 dependency of one of the libraries I use.
I think you can do the upgrade from the command line.
I'm not clear about the best sequence to go through to ensure you get WSL2 latest + ubuntu 22.04 but I need to work that out and document it.
wsl --set-version Ubuntu-22.04 2
Maybe the above will do it for you (from an Admin prompt)
See Upgrade version from WSL 1 to WSL 2
in https://docs.microsoft.com/en-gb/windows/wsl/install
thanks giles. I'll give this a go.
Conversion in progress, this may take a few minutes... For information on key differences with WSL 2 please visit https://aka.ms/wsl2 The distribution is already the requested version.
ah i think that i'm ok
I used python3.10 rather than python3.9. have now successfully installed mciwb.
I'll look at the next tutorial tomorrow
@GarethProdger
Do you reckon the correct instructions for WSL and Ubuntu are simply:
Open a admin terminal and type:
wsl --set-version Ubuntu-22.04 2