ctabix.c:8:22: fatal error: pyconfig.h: No such file or directory
~/Platypus/Platypus_0.8.1 $ ./buildPlatypus.sh
Building Platypus
running build
running build_py
running build
running build_py
running build
running build_py
running build
running build_py
running build
running build_py
running build
running build_py
running build
running build_py
running build
running build_py
running build
running build_ext
building 'ctabix' extension
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -Itabix -Ipysam -I/usr/include/python2.7 -c ctabix.c -o build/temp.linux-x86_64-2.7/ ctabix.o
ctabix.c:8:22: fatal error: pyconfig.h: No such file or directory
#include "pyconfig.h"
^
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
then install
sudo apt-get install python-dev
Building Platypus
running build
running build_py
running build
running build_py
running build
running build_py
running build
running build_py
running build
running build_py
running build
running build_py
running build
running build_py
running build
running build_py
running build
running build_ext
building 'ctabix' extension
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -Itabix -Ipysam -I/usr/include/python2.7 -c ctabix.c -o build/temp.linux-x86_64-2.7/
ctabix.c:8:22: fatal error: pyconfig.h: No such file or directory
#include "pyconfig.h"
^
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
then install
sudo rm /var/lib/dpkg/lock
sudo dpkg --configure -a
sudo apt-get install python-dev
Comments
Post a Comment