This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt install -y software-properties-common | |
sudo add-apt-repository -y ppa:jonathonf/python-3.6 | |
sudo apt update | |
sudo apt install -y python3-pip python3-dev | |
sudo apt install -y python3.6 python3.6-dev python3.6-venv | |
wget https://bootstrap.pypa.io/get-pip.py | |
sudo python3.6 get-pip.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install Python2 environment for Bash on Ubuntu on Windows build 14943 or earlier | |
# respond to this issue -> https://github.com/Microsoft/BashOnWindows/issues/185 | |
export DEBIAN_FRONTEND=noninteractive | |
sudo sh -c 'echo 127.0.1.1 $(hostname) >> /etc/hosts' | |
sudo sed -i -e 's%http://.*.ubuntu.com%http://ftp.jaist.ac.jp/pub/Linux%g' /etc/apt/sources.list | |
sudo -E add-apt-repository -y ppa:fkrull/deadsnakes-python2.7 | |
sudo -E add-apt-repository -y ppa:aseering/wsl | |
sudo -E apt-get -y -qq update |