I am installing datalab on composer (Airflow) machines. It worked fine when I used it on python2. Moving the python 3, I am facing installation issues.
I know that the composer uses pip3 so I tried to reproduce the issue on a new VM (debian).
The installation (pip3 install datalab) fires the following error:
running build_ext
building 'imagecodecs._aec' extension
creating build/temp.linux-x86_64-3.7
creating build/temp.linux-x86_64-3.7/imagecodecs
x86_64-linux-gnu-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/home/eila_orielresearch_org/.local/lib/python3.7/site-packages/numpy/core/include -c imagecodecs/_aec.c -o build/temp.linux-x86_64-3.7/imagecodecs/_aec.o
In file included from /home/eila_orielresearch_org/.local/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1832,
from /home/eila_orielresearch_org/.local/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,
from /home/eila_orielresearch_org/.local/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4,
from imagecodecs/_aec.c:598:
/home/eila_orielresearch_org/.local/lib/python3.7/site-packages/numpy/core/include/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/_aec.c:602:10: fatal error: libaec.h: No such file or directory
#include "libaec.h"
^~~~~~~~~~
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
----------------------------------------
Hello,
I am installing datalab on composer (Airflow) machines. It worked fine when I used it on python2. Moving the python 3, I am facing installation issues. I know that the composer uses pip3 so I tried to reproduce the issue on a new VM (debian).
The installation (pip3 install datalab) fires the following error:
running build_ext building 'imagecodecs._aec' extension creating build/temp.linux-x86_64-3.7 creating build/temp.linux-x86_64-3.7/imagecodecs x86_64-linux-gnu-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/home/eila_orielresearch_org/.local/lib/python3.7/site-packages/numpy/core/include -c imagecodecs/_aec.c -o build/temp.linux-x86_64-3.7/imagecodecs/_aec.o In file included from /home/eila_orielresearch_org/.local/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1832, from /home/eila_orielresearch_org/.local/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /home/eila_orielresearch_org/.local/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4, from imagecodecs/_aec.c:598: /home/eila_orielresearch_org/.local/lib/python3.7/site-packages/numpy/core/include/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 " \
Command "/usr/bin/python3 -u -c "import setuptools, tokenize;file='/tmp/pip-install-bms5mdpg/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-obu0poi9/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /tmp/pip-install-bms5mdpg/imagecodecs/