

In the Microsoft store, a search for WSL will bring up common distros. Open the Microsoft Store and choose your favourite Linux distribution. Install your Linux Distribution of Choice Once you agree to send them all your data, they will invite you into the program and under Settings > Windows Insider Programme you have the option to pick your channel, which will install the required version of Windows 10 to enable WSL 2. Since MS hasn’t yet released WSL 2 on stock Windows 10, you must sign over your details to Microsoft to enable the Windows Insider Programme. Get Windows Update Assistant.įor this setup I went with WSL 2. Please update to the latest Windows version if your build is lower than 18361. (Or enter the ver command in Windows Command Prompt). – Check your Windows version by selecting the Windows logo key + R, type winver, select OK. – Running Windows 10, updated to version 1903 or higher, Build 18362 or higher. To update to WSL 2, you must meet the following criteria: Hopefully, MS will have rolled it out and we can ignore this blurb.

So I will copy and paste the criteria for info. WSL should be stock standard in 2020, but at the time of writing, I still could not upgrade to the 2020 version of Windows 10 on my new Surface laptop 3. They claim WSL 2 has “increase file system performance and support full system call compatibility.” Refer to the docs for a comparison of WSL 2 and WSL 1. I will be closely following Microsoft’s Guide and for screenshots and in-depth explanations refer to Chris’s article. Be sure to check the docs for the latest commands. Some things may be dated as I performed the setup some months ago. I found the dual setup cumbersome, so I moved over to a Mac for my third setup. So I set up a newer Surface Laptop 3 on WSL 1 (WSL 2 not available on the newer Surface machines!) with Debian and pip python management. This was my first setup and while I was running some deep neural network models, my Surface Pro 3 was grinding to a halt. This article will be 1 of 3 setup articles I plan to write. So I have to give credit to Chris for his post and please check it out as he goes into much more depth than what I will cover.

I was running Python on my Win10, but when Chris Moffitt over at Practical Business Python (excellent site!) wrote about Using WSL to Build a Python Development Environment on Windows – Practical Business Python, I had to give it a crack. This article will cover in a nutshell my journey back into Linux for Python development. In Engineering tagged linux / python / windows / wsl
