Last active
February 4, 2017 07:27
-
-
Save hchs710623/f3c216c4866eb25e85c6b737d012ebe4 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
$ virtualenv -p /usr/bin/python3.4 venv
$ source venv/bin/activate