To avoid any troubles, install visual studio 2008 if you are using py2.7 or visual studio 2010 if you are using py3. Express edition is enough. Another way is to install Microsoft Visual C++ Compiler for Python 2.7 if you are using Python 2.7.
Go to the following address to download the complied packages:
http://www.lfd.uci.edu/~gohlke/pythonlibs/
numpy-MKL
scipy
and place the .exe
file in home directory.
Run the following command in cmd
:
(you should adjust the file names)
virtualenv venv
venv\Scripts\activate.bat
pip install -U setuptools
pip install -U pip
easy_install numpy-MKL.exe
easy_install scipy.exe
pip install matplotlib
pip install PySide
pip install ipython[all]
pip install patsy
pip install pandas
pip install sympy
pip install nose
# others
pip install statsmodels
pip install zipline
pip install quandl
pip install scikit-learn
# create the profile of ipython
ipython profile create
Installation finished.
Next every time want to use the stack, type following in cmd
:
venv\Scripts\activate.bat
ipython qtconsole --matplotlib inline
# ipython
# ipython notebook
Here you go.