Run PowerShell as Administrator and execute command:
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
... and restart your computer.
Full guide: WSL Installation Guide for Windows 10.
Go to Windows Store, search for Ubuntu
, install.
Start Ubuntu from Start Menu, follow on-screen instructions to create your account.
For details: Initializing a newly installed distro.
Go to download page select "User Installer", follow the installation wizard.
Use VS Code built-in terminal View -> Terminal
:
wsl
sudo -s
apt-get update
apt-get install python3-pip
pip3 install black ipython
exit
- Python
- Django Template
In you preferred terminal type:
wsl
Inside WSL use ip
command:
ip addr
Use IP address of eth0
interface.
When in WSL go to /mnt/c
this will be an equivalent of C:
in Windows.
You desktop files are in: /mnt/c/Users/<your username>/Desktop
.