I am trying to install using Python3 (I need to use its implementation of the Dynamic Time Warping algo.) but I can't get it to work.
The same package can be installed using Python 2.7, on the same machine, without problems, so I don't think that is an OS-related problem.
Any help is very welcome!!
# userx @ xyz in ~/Downloads/mlpy-3.5.0 [12:09:06]
$ python3 setup.py install
running install
running build
running build_py
running build_ext
building 'mlpy.gsl' extension
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/userx/miniconda3/include -arch x86_64 -I/Users/userx/miniconda3/include -arch x86_64 -I/Users/userx/miniconda3/include/python3.6m -I/Users/userx/miniconda3/lib/python3.6/site-packages/numpy/core/include -I/Users/userx/miniconda3/include/python3.6m -c mlpy/gsl/gsl.c -o build/temp.macosx-10.7-x86_64-3.6/mlpy/gsl/gsl.o
mlpy/gsl/gsl.c:223:10: fatal error: 'gsl/gsl_sf.h' file not found
#include "gsl/gsl_sf.h"
^~~~~~~~~~~~~~
1 error generated.
error: command 'gcc' failed with exit status 1
Solved by running
python3 setup.py build_ext --include-dirs=/usr/local/include/ --rpath=/usr/local/lib/
followed by python3 setup.py install