Install python on WSL

How to install python3 in WSL

apt

sudo apt update
sudo apt upgrade

install python

sudo apt-get install python3 python3-pip -y
sudo pip3 install pip -U

install modules

sudo pip install --upgtade pip

sudo pip3 install matplotlib
sudo pip3 install numpy
sudo pip3 install scipy
sudo pip3 install pandas

Open CV intall

sudo pip install opencv-python
sudo pip install opencv-contrib-python

Recommended Posts

Install python on WSL
Install Python on Pidora.
Install Scrapy on python3
Install Python on Mac
Install Python 3 on Mac
Install Python3.4 on CentOS 6.6
Install python on windows
Install Python 2.7.3 on CentOS 5.4
Install Python 3.3 on Ubuntu 12.04
Install Python 3.4 on Mac
Install Python 3.6 on Docker
Install Python 3.8 on RHEL 8 (AppStream)
Install watchdog on Windows + Python 3.3
install python
Install pygame on python3.4 on mac
Install Python 3.8 on CentOS 7 (SCL)
Install pandas 0.14 on python3.4 [on Mac]
Install OpenCV on Ubuntu + python
wsl Install PostgreSQL on Ubuntu 18.04
Python --Install MySQLDB on EC2
Install Python 3.8 on CentOS 8 (AppStream)
Install Docker on WSL Ubuntu 18.04
[Python] [Chainer] [Windows] Install Chainer on Windows
(CMake) Gently install official OpenCV on WSL (C / C ++, Python2, Python3)
Install Python Pillow on Amazon Linux
Install Python 3.8 on Ubuntu 18.04 (OS standard)
Install Python3 on Sakura server (FreeBSD)
Install Python 3.8 on Ubuntu 20.04 (OS standard)
Install python2.7 on windows 32bit environment
Install xgboost (python version) on Windows
Install Python on Windows + pip + virtualenv
Install Pytorch on Blender 2.90 python on Windows
Install Python 3.7 Anaconda on MAC, but Python 2
Install python3 on Mac (El Capitan)
Install Python 3.9 on Ubuntu 20.04 (OS standard?)
Install Python development environment on Windows 10
Install Python on CentOS using Pyenv
Install confluent-kafka for Python on Ubuntu
Install Python 2.7 on Ubuntu 20.04 (OS standard?)
Steps to install python3 on mac
Install Python on CentOS using pyenv
Python on Windows
twitter on python3
Install Python locally
Install NAOqi python
python on mac
Install Python Control
Python on Windbg
CentOS8 --Install --Python3
[Kivy] How to install Kivy on Windows [Python]
Install wsl2 and master linux on windows
Install python library on Lambda using [/ tmp]
Steps to install Python environment on Ubuntu
scipy stumbles with pip install on python 2.7.8
Install Python less than 3.5.3 on macOS Catalina
Install python on xserver to use pip
Install Python3 on mixhost server [Currently NG]
Install pyenv and Python 3.6.8 on Ubuntu 18.04 LTS
Install Python 3.8, Pip 3.8 on EC2 (Amazon Linux 2)
Install mecab on Marvericks
Install Tensorflow on Mac