- Ubuntu install python 3.6 make it primary install#
- Ubuntu install python 3.6 make it primary update#
- Ubuntu install python 3.6 make it primary code#
- Ubuntu install python 3.6 make it primary windows#
WSL mounts the fixed drives on your computer under the /mnt/ folder in your Linux distribution.
Ubuntu install python 3.6 make it primary windows#
Updating the tool in the Windows file system will have no effect on the tool in the Linux file system, and vice-versa.
Ubuntu install python 3.6 make it primary install#
You can install one version of a tool or package in the Windows file system and a completely different version in the Linux file system. You will need to pay attention to where you install packages and store files. Learn more.Īn important thing to remember when using Windows Subsystem for Linux (WSL) is that you are now working between two different file systems: 1) your Windows file system, and 2) your Linux file system (WSL), which is Ubuntu for our example. This allows you to use WSL as your integrated development environment and will handle compatibility and pathing for you. Install the Remote - WSL Extension on VS Code. Not to worry, you'll still be able to integrate with your Linux command line and tools using the Remote - WSL Extension.
Ubuntu install python 3.6 make it primary code#
VS Code is also available for Linux, but Windows Subsystem for Linux does not support GUI apps, so we need to install it on Windows. VS Code integrates nicely with the Windows Subsystem for Linux, providing a built-in terminal to establish a seamless workflow between your code editor and your command line, in addition to supporting Git for version control with common Git commands (add, commit, push, pull) built right into the UI.ĭownload and install VS Code for Windows. Take advantage of IntelliSense, Linting, Debug support, Code snippets, and Unit testing by using VS Code.
Ubuntu install python 3.6 make it primary update#
To update your distribution, use the command: sudo apt update & sudo apt upgrade.Ĭonsider installing the new Windows Terminal from the Microsoft Store to enable multiple tabs (quickly switch between multiple Linux command lines, Windows Command Prompt, PowerShell, Azure CLI, etc), create custom key bindings (shortcut keys for opening or closing tabs, copy+paste, etc.), use the search feature, and set up custom themes (color schemes, font styles and sizes, background image/blur/transparency). Windows doesn't automatically handle this update. We recommend updating your Linux distribution regularly, including immediately after you install, to ensure you have the most recent packages. Once you have installed WSL and a Linux distribution, open the Linux distribution (it can be found in your Windows start menu) and check the version and codename using the command: lsb_release -dc. These steps will include choosing a Linux distribution (for example, Ubuntu).
![ubuntu install python 3.6 make it primary ubuntu install python 3.6 make it primary](https://i.ytimg.com/vi/PlAAaDJTR6o/maxresdefault.jpg)
![ubuntu install python 3.6 make it primary ubuntu install python 3.6 make it primary](https://bugs.python.org/file47277/test.Screenshot%20from%202017-11-20%2011-12-41.png)
To enable and install WSL 2, see the WSL install documentation. We generally recommend using WSL 2 for Python web development work. WSL lets you run a GNU/Linux command line environment integrated directly with Windows and your favorite tools, like Visual Studio Code, Outlook, etc. We only recommend this if you are a more advanced Python programmer with a specific reason for choosing an alternative implementation. For some advanced scenarios, you may want to consider downloading a specific Python release directly from or consider installing an alternative, such as Anaconda, Jython, PyPy, WinPython, IronPython, etc. If you're interested in automating common tasks on your operating system, see our guide: Get started using Python on Windows for scripting and automation. If you're new to Python, see our guide: Get started using Python on Windows for beginners. Install and use Python directly on Windows for these cases. WSL does not support GUI desktops or applications (like PyGame, Gnome, KDE, etc).
![ubuntu install python 3.6 make it primary ubuntu install python 3.6 make it primary](https://www.pytorials.com/wp-content/uploads/2017/12/python3.6_64bit.png)
If you are using Python for something other than web development, we recommend you install Python directly on Windows using the Microsoft Store. Most web apps are also deployed on Linux, so this will ensure you have consistency between your development and production environments. Many of the tutorials and instructions for Python web development are written for Linux users and use Linux-based packaging and installation tools. We recommend installing Python on WSL when building web applications. The following is a step-by-step guide to get you started using Python for web development on Windows, using the Windows Subsystem for Linux (WSL).