Problem with deploying my app on Heroku

after, I ran the command git push heroku master

Enumerating objects: 43, done.
Counting objects: 100% (43/43), done.
Delta compression using up to 8 threads
Compressing objects: 100% (36/36), done.
Writing objects: 100% (43/43), 5.06 KiB | 1.69 MiB/s, done.
Total 43 (delta 7), reused 0 (delta 0), pack-reused 0
remote: Compressing source files… done.
remote: Building source:
remote:
remote: -----> Building on the Heroku-20 stack
remote: -----> Determining which buildpack to use for this app
remote: -----> Python app detected
remote: -----> Using Python version specified in runtime.txt
remote: -----> Installing python-3.8.12
remote: -----> Installing pip 21.3.1, setuptools 57.5.0 and wheel 0.37.0
remote: -----> Installing SQLite3
remote: -----> Installing requirements with pip
remote: Collecting Flask==1.1.0
remote: Downloading Flask-1.1.0-py2.py3-none-any.whl (94 kB)
remote: ERROR: Could not find a version that satisfies the requirement get (from versions: none)
remote: ERROR: No matching distribution found for get
remote: ! Push rejected, failed to compile Python app.
remote:
remote: ! Push failed
remote: Verifying deploy…
remote:
remote: ! Push rejected to iot-gang.
remote:
To https://git.heroku.com/iot-gang.git
! [remote rejected] master → master (pre-receive hook declined)
error: failed to push some refs to ‘https://git.heroku.com/iot-gang.git

my requirements.txt:
Flask==1.1.0
get
gunicorn==19.6.0
post
requests
wikipedia
line-bot-sdk
pandas==0.20.3
googletrans

my runtime.txt:
python-3.8.12

Hey there, and welcome to the forums!

I didn’t submit a Flask project to Heroku, but I have a Django one. I found trouble with Heroku when the packages in requirements.txt didn’t have explicit version numbers. Instead of manually creating a requirements.txt, try using “pip freeze” in the console, like so:

pip freeze > requirements.txt

This should save the current package environment to a file called requirements.txt in the same folder, along with all the version numbers. This should be a valid requirements.txt file. It also may contain extra packages you don’t need, so deleting lines where necessary is fine.