Skip to content

Instantly share code, notes, and snippets.

@josephabrahams
Last active March 4, 2018 07:53
Show Gist options
  • Save josephabrahams/f3ca1fbc849f8258a7f951533162f99b to your computer and use it in GitHub Desktop.
Save josephabrahams/f3ca1fbc849f8258a7f951533162f99b to your computer and use it in GitHub Desktop.
QSTK Mac Installation w/ Python 3

QSTK Mac Installation

Now with Python 3!

Install System Dependencies

brew install python
brew install pipenv
brew install gfortran

Install frameworkpython3 script

Download frameworkpython and add to PATH.

Install Application Dependencies

pipenv install -e git+git@github.com:romanbsd/QuantSoftwareToolkit.git@6b7e15fa3c0ba483a30674ff5acf30c77b91b877#egg=QSTK
pipenv install statsmodels

Download Examples and Convert to Python 3

curl -O https://spark-public.s3.amazonaws.com/compinvesting1/QSTK-Setups/Examples.zip
unzip Examples.zip
2to3 -w Examples
frameworkpython Examples/Validation.py

Based on: https://github.com/QuantSoftware/QuantSoftwareToolkit/wiki/Mac-Installation.

@josephabrahams
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment