yagop / telegram-bot

UNMAINTAINED - A Telegram Bot based on plugins
GNU General Public License v2.0
848 stars 502 forks source link

Python.h fatal error #402

Open Rexxis opened 7 years ago

Rexxis commented 7 years ago

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

                ^

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

Rexxis commented 7 years ago

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

benjarobbi commented 7 years ago

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.