![]() ![]() Run python3 –version to ensure the version. The included Ubuntu distribution already has python installed. Access your files through the Linux drive mounted in Windows ExplorerĬongratulations, you have installed Linux on Windows! Install Python, Pip, and Venv on Ubuntu This is a mounted drive that contains all your Linux files. Launch your Windows Explorer by pressing WIN + E and you’ll see that you have a new Linux icon at the bottom of your navigation pane. You can use this shell the same as you would in the Linux terminal and can open it in the future by going to the Start Menu and searching for the Ubuntu app. After entering your new username and password, you should arrive at a Bash prompt. You should get a PowerShell window prompting you for your credentials to use within the Ubuntu distribution. Note: if you’re using Windows 10 you’ll need to specify the distribution you want to install, e.g.: wsl -install -d Ubuntu The process for installing WSL through PowerShell To get started on Windows 11, open a Powershell prompt as administrator and run (WSL is not just for VS Code users, but at the time of this writing, it is the only lightweight code editor that integrates WSL natively.) For this tutorial I’m using Windows 11 and am also going to integrate Visual Studio Code with WSL so you’ll want to install this too. In order to use WSL, you must be using Windows version 10 (build 19041 or higher) or any version of Windows 11. If this sounds interesting, read on as I walk you through setting up a Python development environment in WSL. ![]() The Windows Subsystem for Linux lets developers run a GNU/Linux environment - including most command-line tools, utilities, and applications - directly on Windows, unmodified, without the overhead of a traditional virtual machine or dualboot setup.” What is Windows Subsystem for Linux | Microsoft Docs It’s called Windows Subsystem for Linux (WSL). There’s never been a better time for Windows users to start learning those skills since there’s finally a way to have our cake and eat it too. But these days, most employers want their devs to know their way around the Linux command line. ![]() It seems like everyone is using Linux or Mac for software development these days, but if you’re a windows user, you may have looked into what you needed to do to be able to use Linux on your PC and found that dual-booting or virtual machines sounded like too much trouble. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |