m1guelpf / chatgpt-telegram

Run your own GPTChat Telegram bot, with a single command!
MIT License
3.88k stars 560 forks source link

Raspberry Pi4 Install will not run. -> "bash: ./chatgpt-telegram: cannot execute binary file: Exec format error" #84

Open polykoma opened 1 year ago

polykoma commented 1 year ago

Dear everyone,

I tried to run it on a Raspberry pi4 ((4GB Ram)) but get a "bash: ./chatgpt-telegram : cannot execute binary file: Exec format error" back when I try to run the command.

The .env is correctly filled. The chatgpt.json has been correctly created, filled and moved to /.config/ I followed the guide thoroughly.

I downloaded chatgpt-telegram-linux-arm64 since I assume this is the correct version for the pi4. Folder sits on desktop. (I also tried Darwin Arm64 without luck)

TG Bot has been correctly created and sits in a small groupchat as admin with access to all messages.

Has anybody got it to work on a raspberry? Any plans to make this able to run on a pi4?

Thank you for your kind assistance BR poly

BahrMikhev commented 1 year ago

Same issue with raspberry pi 2B+, probably related to the headless browser that was used

polykoma commented 1 year ago

Is there any known working version for a pi?