Code Monkey home page Code Monkey logo

currency-rate-tg-bot's People

Contributors

alenapoliakova avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

currency-rate-tg-bot's Issues

Ошибка в сборке проекта

Сейчас при установке проекта возникает ошибка при установке новой версии 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.
Теперь пытаюсь повторить и запутался в обработке нажатий клавиатуры.

Переход на aiogram, вебхуки, доработки бота

  • перейти на асинхронный aiogram3 (beta) с обработкой FSM
  • настроить вебхук с SSL сертификатом
  • переработать структуру проекта
  • добавить обработку /today при выборе даты для парсинга курса
  • добавить использование библиотеки для парсинга валют async-cb-rate

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.