larsmans / seqlearn

Sequence learning toolkit for Python
http://larsmans.github.io/seqlearn/
MIT License
688 stars 102 forks source link

Fix installation with Python 3.5 on MacOSX 10.11 #23

Open vmarkovtsev opened 8 years ago

vmarkovtsev commented 8 years ago

See http://stackoverflow.com/questions/14657375/cython-fatal-error-numpy-arrayobject-h-no-such-file-or-directory#comment52750462_14657667

cythonize(include_path=...) does not help either. Only manual Extension(), only hardcore.

haraball commented 8 years ago

I had the same error. For me both solutions (this and https://github.com/larsmans/seqlearn/pull/20) work after I set export CFLAGS="-I /full/path/to/.venv/lib/python3.5/site-packages/numpy/core/include $CFLAGS".