Last active
March 13, 2017 08:03
-
-
Save drillan/69d4bc7f5c931f6af785ea8050f2cc8a to your computer and use it in GitHub Desktop.
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 | |
sudo -E apt-get -y -qq upgrade | |
sudo -E apt-get -y -qq install libzmq3 libzmq3-dev python-dev python-zmq build-essential | |
wget "https://bootstrap.pypa.io/get-pip.py" | |
sudo python get-pip.py | |
rm get-pip.py | |
sudo pip install --upgrade setuptools |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment