alenapoliakova / currency-rate-tg-bot Goto Github PK
View Code? Open in Web Editor NEWtelegram bot for sending rate of currency from the CB site
telegram bot for sending rate of currency from the CB site
Сейчас при установке проекта возникает ошибка при установке новой версии aiogram dev-3.x и async-cb-rate==1.0.0, в которых присутствует скачивание различных версий пакета aiohttp:
#0 14.98 async-cb-rate 1.0.0 depends on aiohttp==3.8.3
#0 14.98 aiogram 3.0.0b8 depends on aiohttp~=3.8.4
Лог:
#0 14.98 ERROR: Cannot install -r requirements.txt (line 1) and -r requirements.txt (line 5) because these package versions have conflicting dependencies.
#0 14.98
#0 14.98 The conflict is caused by:
#0 14.98 async-cb-rate 1.0.0 depends on aiohttp==3.8.3
#0 14.98 aiogram 3.0.0b8 depends on aiohttp~=3.8.4
#0 14.98
------
Dockerfile:6
--------------------
4 |
5 | COPY requirements.txt .
6 | >>> RUN pip install -r requirements.txt
7 |
8 | COPY . .
--------------------
ERROR: failed to solve: process "/bin/sh -c pip install -r requirements.txt" did not complete successfully: exit code: 1
ERROR: Service 'telegram_bot' failed to build : Build failed
Нужно:
Только начинаю изучать Python. Бота запустил - все работает.
Для меня это пока космос.
Полезно было узнать как хранить токен запускать нужные пакеты.
Делаю себе простого бота, который должен провести тест по гибкости.
Ранее делал такого в сервисе ботов ManyChat.
Теперь пытаюсь повторить и запутался в обработке нажатий клавиатуры.
aiogram3
(beta) с обработкой FSMДобавить логирование запросов при включении системного параметра log_requests (по умолчанию True)
Логировать:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.