- Anaconda: https://www.continuum.io/downloads
- WinPython: https://winpython.github.io/
- Go to https://www.python.org/downloads/ and download the 3.* or 2.7 version for Win x86-64
- Install the
.exefile - Install the libraries of your choice by running
pip install <package name>from thecmd.exe. Don't forget to runcmd.exewith administrator rights
Since compiling numpy and scipy from sources is not so easy (you'll need to get ATLAS, BLAS, LAPACK and compile them in Cygwin/MinGW), we will use precompiled binaries ('wheel' archives, *.whl) instead.
- Go to http://www.lfd.uci.edu/~gohlke/pythonlibs/, specifically to
- http://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy for
numpyand - http://www.lfd.uci.edu/~gohlke/pythonlibs/#scipy for
scipy
- http://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy for
- Download the packages you need (do not forget to choose the right platform and Python version)
- Run
pip install <whl file>from the directory containing the*.whlarchives. Do not rename these archives! Just copy the long names and paste them into the Windows command line by right-clicking the terminal window
Open command window as administrator and navigate to <matlabroot>\extern\engines\python. Then, execute python setup.py install.
See MathWorks documentation for more details.