Command docker build -t pandda-2 . fails at step 13/16 with the following error:
building 'pandas.io.sas._sas' extension
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/pandas
creating build/temp.linux-x86_64-2.7/pandas/io
creating build/temp.linux-x86_64-2.7/pandas/io/sas
gcc -pthread -fno-strict-aliasing -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Ipandas/_libs/src/klib -Ipandas/_libs/src -I//ccp4/lib/python2.7/site-packages/numpy/core/include -I//ccp4/include/python2.7 -c pandas/io/sas/sas.c -o build/temp.linux-x86_64-2.7/pandas/io/sas/sas.o -Wno-unused-function
pandas/io/sas/sas.c:25:10: fatal error: Python.h: No such file or directory
#include "Python.h"
^~~~~~~~~~
compilation terminated.
error: command 'gcc' failed with exit status 1
----------------------------------------
Rolling back uninstall of pandas
Command "//ccp4/libexec/python2.7 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-Vuv1UA/pandas/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-pVn8Jg-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-Vuv1UA/pandas/
Host system is Ubuntu 16.04.6 LTS, docker 19.03.6
Command
docker build -t pandda-2 .fails at step 13/16 with the following error:Host system is Ubuntu 16.04.6 LTS, docker 19.03.6