Skip to content

Instantly share code, notes, and snippets.

@bajorekp
Last active February 2, 2017 21:02
Show Gist options
  • Save bajorekp/397a0c018609f9e7f83a2f9c2bc11138 to your computer and use it in GitHub Desktop.
Save bajorekp/397a0c018609f9e7f83a2f9c2bc11138 to your computer and use it in GitHub Desktop.
Install software packages for Machine Learning stack on Amazon AWS distribution.
# komendy do installacji na ubuntu
GIT_NAME="bajorekp"
GIT_EMAIL="bajorekp@gmail.com"
sudo yum update
sudo yum groupinstall -y development
sudo yum install -y zlib-dev openssl-devel sqlite-devel bzip2-devel xz-libs python35
## install python 3.5 from sources
# wget https://www.python.org/ftp/python/3.5.3/Python-3.5.3.tar.xz
# tar -xvf Python-3.5.3.tar.xz
# cd Python-3.5.3
# ./configure
# make
# sudo make altinstall
# cd ..
# sudo rm -rf Python-3.5.3*
## /install
## install machine learning libraries
virtualenv -p python3.5 ~/sci
source ~/sci/bin/activate
pip install --upgrade pip
pip install numpy pandas scikit-learn tensorflow jupyter
# config gita
git config --global color.ui true
git config --global user.name $GIT_NAME
git config --global user.email $GIT_EMAIL
cat /dev/zero | ssh-keygen -t rsa -b 4096 -C $GIT_EMAIL -q -N ""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment