lucastheis / c2s

A toolbox for inferring spikes from calcium traces.
http://c2s.readthedocs.org
MIT License
22 stars 13 forks source link

Error using `pip` install #1

Closed titipata closed 9 years ago

titipata commented 9 years ago

I got an error when I try to do sudo pip install git+https://github.com/lucastheis/c2s.git (my current OS is Mac OS X Yosemite)

c2s/roc.c:239:10: fatal error: 'numpy/arrayobject.h' file not found
#include "numpy/arrayobject.h"

Maybe you need to add few line of code to setup() i.e. include_dirs=[numpy.get_include()].

Below I attached link from stackoverflow of kind of the same issue that I got. http://stackoverflow.com/questions/14657375/cython-fatal-error-numpy-arrayobject-h-no-such-file-or-directory

I can send you pip.log file also.