# git clone https://github.com/mkusner/wmd.git
Cloning into 'wmd'...
remote: Counting objects: 41, done.
remote: Total 41 (delta 0), reused 1 (delta 0), pack-reused 40
Unpacking objects: 100% (41/41), done.
Checking connectivity... done.
# cd wmd/
# pip install gensim numpy scipy
# cd python-emd-master/
# make
>>> Building object file 'emd.o'.
cc -o emd.o -c emd.c -fPIC -I/usr/include/python2.7 -I/usr/include/x86_64-linux-gnu/python2.7
In file included from emd.c:20:0:
emd.h:22:0: warning: "INFINITY" redefined
#define INFINITY 1e20
^
In file included from /usr/include/math.h:41:0,
from emd.c:18:
/usr/include/x86_64-linux-gnu/bits/inf.h:26:0: note: this is the location of the previous definition
# define INFINITY (__builtin_inff())
^
In file included from emd.c:20:0:
emd.h:32:20: warning: extra tokens at end of #include directive
#include "Python.h";
^
>>> Generating C interface
swig -python emd.i
make: swig: Command not found
Makefile:51: recipe for target 'emd_wrap.c' failed
make: *** [emd_wrap.c] Error 127
rm emd.o