I'm trying to install sci-kit image on my raspberry pi, but I'm running into some problems. Previously it was giving me the error that the file 'libaec.h' was missing. I installed libaec using pip, and then that error was solved. However, now it is giving me the error that 'blosc.h' is missing. I managed to install blosc with pip but the error is still there (only showing the last part of the error message):
building 'imagecodecs._blosc' extension
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Iimagecodecs -I/usr/include/python3.7m -I/usr/lib/python3/dist-packages/numpy/core/include -c imagecodecs/_blosc.c -o build/temp.linux-armv7l-3.7/imagecodecs/_blosc.o
In file included from /usr/include/python3.7m/numpy/ndarraytypes.h:1822,
from /usr/include/python3.7m/numpy/ndarrayobject.h:12,
from /usr/include/python3.7m/numpy/arrayobject.h:4,
from imagecodecs/_blosc.c:598:
/usr/include/python3.7m/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
#warning "Using deprecated NumPy API, disable it with " \
^~~~~~~
imagecodecs/_blosc.c:602:10: fatal error: blosc.h: No such file or directory
#include "blosc.h"
^~~~~~~~~
compilation terminated.
error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
----------------------------------------
Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-txmkharf/imagecodecs/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-1ugl_qdj/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-txmkharf/imagecodecs/
pi@raspberrypi:~ $ sudo pip3 install blosc
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: blosc in /usr/local/lib/python3.7/dist-packages (1.9.1)
pi@raspberrypi:~ $
Any ideas on how I can fix this? Is blosc located in the right place? If not, how can I move it to the correct place?