Skip to content
This repository has been archived by the owner on Jul 24, 2020. It is now read-only.

Latest commit

 

History

History
29 lines (18 loc) · 664 Bytes

INSTALL.rst

File metadata and controls

29 lines (18 loc) · 664 Bytes

Building milk

To install dependencies in Ubuntu:

sudo apt-get install python-numpy python-scipy libeigen3-dev

The following should work:

python setup.py install

A C++ compiler is required. On Windows, you might need to specify the compiler. For example:

python setup.py install --compiler=mingw32

If you have mingw installed.

Building on OSX

Because the standard library used with OS X doesn't include the C++11 libraries by default, you will need to specify it in setup.py:

extra_compile_args=['-std=c++0x', '-stdlib=libc++'],

is what the final line should look like.