Skip to content

Instantly share code, notes, and snippets.

@joshz
Last active December 22, 2015 14:48
Show Gist options
  • Save joshz/6487786 to your computer and use it in GitHub Desktop.
Save joshz/6487786 to your computer and use it in GitHub Desktop.
Installing QSTK dependencies on virtualenv, may need tweaking
#
# (c) 2011, 2012 Georgia Tech Research Corporation
# This source code is released under the New BSD license.
# Please see http://wiki.quantsoftware.org/index.php?title=QSTK_License
# for license details.
# Created on Sep 08, 2013
# @original author: look QSTK installation directory
# sudo apt-get upgrade
# echo "Installing dependency - GIT"
# sudo apt-get install git-core
echo "Installing dependencies - Numpy Scipy matplotlib"
pip install numpy
sudo apt-get install libblas3gf libblas-dev
sudo apt-get install liblapack3gf liblapack-dev
sudo apt-get install gfortran
pip install scipy
#>600mb of dependencies
#sudo apt-get build-dep python-matplotlib
sudo apt-get install build-essential
#gsfonts has freetype on ubuntu
sudo apt-get install libpng-dev gsfonts
pip install python-dateutil six pyparsing
pip install matplotlib
echo "Installing dependencies - scikits"
pip install scikits.statsmodels
pip install scikit-learn
echo "Installing dependencies - pandas"
pip install python-dateutil
pip install pytz
pip install pandas
# echo "Installing dependencies - PYQT4"
# sudo apt-get install python-qt4
echo "Installing dependencies - CVXOPT"
#sudo apt-get --yes --force-yes build-dep python-cvxopt
#sudo apt-get --yes --force-yes install python-cvxopt
sudo update-alternatives --config libblas.so.3
sudo update-alternatives --config liblapack.so.3
python ~/downloads/cvxopt-1.1.6/setup.py install
echo "Install Unzip"
sudo apt-get --yes --force-yes install unzip
echo "Installing dependencies complete"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment