Skip to content

Instantly share code, notes, and snippets.

@speed-of-light
Last active January 1, 2016 02:19
Show Gist options
  • Select an option

  • Save speed-of-light/8078923 to your computer and use it in GitHub Desktop.

Select an option

Save speed-of-light/8078923 to your computer and use it in GitHub Desktop.
package installation
# install networkx
sudo apt-get install libgraphviz-dev graphviz
pip install pygraphviz
pip install networkx
# install gsl for rb-gsl 1.15.3
wget ftp://ftp.gnu.org/gnu/gsl/gsl-1.15.tar.gz
tar xvzf gsl-1.15.tar.gz
cd gsl-1.15
./configure
make
sudo make install
# for pip install tables
pip install cython numpy numexpr
sudo apt-get install libhdf5-mpich2-dev
export HDF5_DIR=/usr/local/hdf5/
C_INCLUDE_PATH=/usr/lib/mpich2/include pip install -U tables
# if not work
# sudo ln -s /usr/local/hdf5/lib/libhdf5.so.8 /usr/local/lib/libhdf5.so.8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment