yagop / telegram-bot

UNMAINTAINED - A Telegram Bot based on plugins

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Python.h fatal error

Rexxis opened this issue · comments

commented

Hi,

I always stuck at this error when running launch.sh install

In file included from main.c:25:0:
python-tg.h:23:20: fatal error: Python.h: No such file or directory
#include <Python.h>
^
compilation terminated.
Makefile:48: recipe for target 'objs/main.o' failed
make: *** [objs/main.o] Error 1
Error. Exiting.

I'm using fedora 24 and python 2.7.12

Can anyone points out what am i doing wrong ? Thank you

commented

Update,

I think it has something to do with redhat based distro

I tried to run the Bot using Debian Jessie and Ubuntu without encountering any issue

commented

Hello!
Good to know, that it not works with redhat. We'd see the bug already sometimes.
The creator wouldn't fix that, because tg-cli seems dead.

Have a nice day,
Ben.