LoginSignup
0
0

More than 1 year has passed since last update.

WSL2にPythonインストール

Posted at
sudo apt update -y
sudo apt-get install -y software-properties-common 
sudo apt update -y
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt install -y python3.10 python3.10-distutils
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3.10 1
curl -sSL https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python get-pip.py
pip install --upgrade pip
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0