D
D
Dmitry2017-11-24 13:24:06
Python
Dmitry, 2017-11-24 13:24:06

Two file python project not starting on heroku.com?

The whole point in the question is there are 2 python files that are connected to each other on one bot for the telegram on the second the router control logic is written, on the PC everything works as soon as I upload to heroku nothing works the bot does not respond to requests
Heroku errors:

-----> 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

requests and TPlink are written in the requirements file (this is a file with the router logic that is used through import)
worker is written in the Procfile file: python RouterBOT.py (this is a telegram bot)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
sim3x, 2017-11-24
@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

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question