ipatov_dn
@ipatov_dn

Python проект из двух файлов не запускается на heroku.com?

Вся суть в вопросе есть 2 файла python которые связаны друг с другом на одном бот для телеграмма на втором написана логика управления роутером, на пк все работает как только загружаю на heroku ничего не работает бот не реагирует на запросы
Ошибки хероку:
-----> Python app detected
 !     The latest version of Python 3 is python-3.6.3 (you are using python-3.6.2, which is unsupported).
 !     We recommend upgrading by specifying the latest version (python-3.6.3).
       Learn More: https://devcenter.heroku.com/articles/python-runtimes
-----> Installing requirements with pip
       Collecting TPlink (from -r /tmp/build_c51954cbbcd5b3cdef88684f869aea48/DeonXL-tegram-tplink-bot-ff634fb/requirements.txt (line 2))
         Could not find a version that satisfies the requirement TPlink (from -r /tmp/build_c51954cbbcd5b3cdef88684f869aea48/DeonXL-tegram-tplink-bot-ff634fb/requirements.txt (line 2)) (from versions: )
       No matching distribution found for TPlink (from -r /tmp/build_c51954cbbcd5b3cdef88684f869aea48/DeonXL-tegram-tplink-bot-ff634fb/requirements.txt (line 2))
 !     Push rejected, failed to compile Python app.
 !     Push failed


в файле requirements прописаны requests и TPlink(это файл с логикой роутера который используется через импорт)
в файле Procfile прописано worker: python RouterBOT.py(это бот телеграма)
  • Вопрос задан
  • 377 просмотров
Пригласить эксперта
Ответы на вопрос 1
sim3x
@sim3x
! The latest version of Python 3 is python-3.6.3 (you are using python-3.6.2, which is unsupported).
! We recommend upgrading by specifying the latest version (python-3.6.3).
Learn More: https://devcenter.heroku.com/articles/python-runtimes
Ответ написан
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы