Closed yalding-zz closed 9 years ago
experience same issue here when running pip install milk
on OSX
creating build/temp.macosx-10.10-x86_64-2.7
creating build/temp.macosx-10.10-x86_64-2.7/milk
creating build/temp.macosx-10.10-x86_64-2.7/milk/supervised
compile options: '-I/usr/local/lib/python2.7/site-packages/numpy/core/include -I/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c'
extra options: '-std=c++0x -stdlib=libc++'
clang++: milk/supervised/_perceptron.cpp
milk/supervised/_perceptron.cpp:8:10: fatal error: '../utils/utils.h' file not found
#include "../utils/utils.h"
^
1 error generated.
milk/supervised/_perceptron.cpp:8:10: fatal error: '../utils/utils.h' file not found
#include "../utils/utils.h"
^
1 error generated.
error: Command "clang++ -fno-strict-aliasing -fno-common -dynamic -I/usr/local/include -I/usr/local/opt/sqlite/include -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/lib/python2.7/site-packages/numpy/core/include -I/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c milk/supervised/_perceptron.cpp -o build/temp.macosx-10.10-x86_64-2.7/milk/supervised/_perceptron.o -std=c++0x -stdlib=libc++" failed with exit status 1
The 0.6 version in
https://pypi.python.org/pypi/milk/
is missing file utils/utils.h.