Poryaei / NotCoin-Clicker

A Python bot and automated clicker for accumulating NotCoins on Telegram.
https://t.me/notcoin_bot
MIT License
102 stars 30 forks source link

Syntax error on raspbian os #17

Closed Fess23 closed 7 months ago

Fess23 commented 7 months ago

OS: Raspbian os Device: Rasberry pi 3b+ PY version: Python 3.9.2

When i starting the script i will get this error: File "/home/Fess/notcoin-clicker/NotCoin-Clicker/clicker.py", line 297 match current_buff['taskId']: ^ SyntaxError: invalid syntax

Fess23 commented 7 months ago

Fixed by installing new version of python.

Fess23 commented 7 months ago

Can't install python version 3.XX on linux. Could you add support version 3.X?

Poryaei commented 7 months ago

Try install python 3.10 >

Poryaei commented 7 months ago

If you can't install Python version 3.10 or higher, you need to change the way the get_free_buffs_data function is written in the clicker class instead of using match case, we should use if.

Fess23 commented 7 months ago

Thank for your review, after 5 hours of installing, i finally done it by installing 3.10 version of python)