Skip to content

Instantly share code, notes, and snippets.

@svs14
Created February 27, 2014 06:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save svs14/9245568 to your computer and use it in GitHub Desktop.
Save svs14/9245568 to your computer and use it in GitHub Desktop.
Installs python2 specific software for scientific applications on ArchLinux.
#!/bin/bash
# Installs python2 specific software
# for scientific applications on ArchLinux.
#
# Requirements:
# - packer
# - python2
# You must be in a virtualenv session with python2 set as python.
# Exit script on any command failure
set -e
# Install numpy
sudo packer -S python2-numpy
pip install numpy
# Install scipy
sudo packer -S gcc-fortran
sudo packer -S python2-scipy
pip install scipy
# Install matplotlib
sudo packer -S python2-matplotlib
pip install matplotlib
# Install sklearn
sudo packer -S python2-scikit-learn
pip install scikit-learn
# Install pandas
sudo packer -S python2-pandas
pip install pandas
# Install IPython suite
sudo packer -S ipython2
pip install ipython[all]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment