I have attempted installing guided LDA
by using the following command:
pip3 install guidedlda
However, I get the following error:
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python3.6m -c guidedlda/_guidedlda.c -o build/temp.linux-x86_64-3.6/guidedlda/_guidedlda.o
guidedlda/_guidedlda.c:4:20: fatal error: Python.h: No such file or directory
#include "Python.h"
^
compilation terminated.
error: command 'gcc' failed with exit status 1
----------------------------------------
ERROR: Failed building wheel for guidedlda
The creator of the package recommends a way (shown below) which I am unable to understand.
https://github.com/vi3k6i5/GuidedLDA
cd GuidedLDA
sh build_dist.sh
python setup.py sdist
pip install -e .
Any ideas?