Python tutorial #1 : Install & Uninstall python3 with windows10

summary

・Finished windows10 Install WSL2 windows10

Windows subsystem for Linux (WSL2) Explains how to install python3 using ubuntu.

Windows >> ubuntu → python3. Access to python only works via ubuntu (linux). Since the environment of Windows is hard to get dirty, the possibility of errors and bugs can be reduced.

Install python

ubuntu

Start WSL2 ubuntu

ubuntu sudo apt update

Update whole ubuntu package (required)

インストール pip3

ubuntu sudo apt install python3-pip

Install pip, an app that manages Python's unique packages (recommended)

ubuntu

Type y to enter

ubuntu pip3 install --upgrade pip

update pip3

python = python3

ubuntu nano ~/.bashrc

ubuntu

alias python="python3" 
alias pip="pip3"

Type at the bottom

When you finish writing Ctrl + s Save Ctrl + x Exit

ubuntu

source ~/.bashrc

Update .bashrc

Check if the changes are reflected

python -V

ubuntu

pip -V

ubuntu

thank you

Thank you for watching until the end. I'm glad if you can use it as a reference.

Thank you for Helping

Give money to us for Amazon gift

We will continue to update useful information. I am delighted to jump to your help. Thank you very much.