skip to Main Content

Redis – Numpy installation failed on Mac M3

I am trying to install the dependencies for my Python project using the following command: pip3 install -r requirements.txt Requirement.txt pyquaternion importlib-metadata==4.13.0 Flask==2.1.1 celery==5.2.3 redis==3.2.1 Flask-Mail==0.9.1 psycopg2==2.7.7 psycopg2-binary==2.7.7 watchdog==0.9.0 SQLAlchemy==1.3.3 Flask-Migrate==2.4.0 alembic==1.0.10 python-json-logger==0.1.10 datetime==4.3 sentry-sdk==0.11.1 structlog==19.1.0 Flask-SQLAlchemy==2.4.0 requests==2.22.0 pytest==3.9.1 flake8==3.7.7…

VIEW QUESTION

pyTelegramBotAPI: set_message_reaction() – How do I make my Telegram bot react with a specific emoji to any message it recieves?

This is my code: import telebot BOT_TOKEN = '-' bot = telebot.TeleBot(BOT_TOKEN) @bot.message_handler(func=lambda message:True) def thumbs_up(message): bot.set_message_reaction(message.chat.id, message.id, '👍') if __name__ == '__main__': bot.polling() And this is the error I get: payload['reaction'] = json.dumps([r.to_dict() for r in reaction]) ^^^^^^^^^ AttributeError:…

VIEW QUESTION
Back To Top
Search