Skip to content

Instantly share code, notes, and snippets.

@hchs710623
Last active February 4, 2017 07:27
Show Gist options
  • Save hchs710623/f3c216c4866eb25e85c6b737d012ebe4 to your computer and use it in GitHub Desktop.
Save hchs710623/f3c216c4866eb25e85c6b737d012ebe4 to your computer and use it in GitHub Desktop.
# Ubuntu/Linux 64-bit
# install python3.5
sudo apt-get install libssl-dev make build-essential libssl-dev zlib1g-dev libbz2-dev libsqlite3-dev -y
wget https://www.python.org/ftp/python/3.5.3/Python-3.5.3.tar.xz
tar Jxvf Python-3.5.3.tar.xz
cd Python-3.5.3/ && ./configure && make && sudo make install
# install virtualenv
sudo apt-get install python-pip python-dev python-virtualenv -y
# create virtualenv named kaggle_venv
python3.5 -m venv kaggle_venv
# start virtualenv
source kaggle_venv/bin/activate
# exit virtualenv
deactivate
@hchs710623
Copy link
Author

$ virtualenv -p /usr/bin/python3.4 venv
$ source venv/bin/activate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment