MegaCrafter10
MegaCrafter10

Reputation: 165

Why is my Python app not compatible with Heroku's Python buildpack

I know this has been asked multiple times before but none of the answers seem to work for my particular case. I created a new Github repository and uploaded the following files to it via the Github desktop client (I tried uploading from the website as well):

The app itself works when I test it locally. This is the Procfile:

worker: python Counter.py

requirments.txt:

git+https://github.com/Rapptz/discord.py
dnspython==1.16.0
PyNaCl==1.3.0
async-timeout==3.0.1

I receive the following error every time I try to deploy it from my Github repository:

-----> App not compatible with buildpack: https://buildpack- 
registry.s3.amazonaws.com/buildpacks/heroku/python.tgz
   More info: https://devcenter.heroku.com/articles/buildpacks#detection-failure
!     Push failed

I just don't understand why it isn't compatible with the buildpack but every other app I made is. I tried deploying other apps from other repositories and it worked just fine. Thanks for reading.

Upvotes: 0

Views: 116

Answers (1)

Tin Nguyen
Tin Nguyen

Reputation: 5330

You wrote requirments.txt twice instead of requirements.txt.

Upvotes: 0

Related Questions