Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7613727
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T02:13:27+00:00 2026-05-31T02:13:27+00:00

Im having problems deploying my django app to heroku in the first part, heroku’s

  • 0

Im having problems deploying my django app to heroku

in the first part, heroku’s push fails when it could not find any downloads for django-sha2==0.4 , however when i do pip install on my computer locally, it works

hh:djangoherokutest Kinnovate$ git push heroku master
Counting objects: 12, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (10/10), done.
Writing objects: 100% (10/10), 958 bytes, done.
Total 10 (delta 7), reused 0 (delta 0)

-----> Heroku receiving push
-----> Python/Django app detected
-----> Preparing virtualenv version 1.7
       New python executable in ./bin/python
       Installing distribute..............................................................................................................................................................................................done.
       Installing pip...............done.
       Overwriting ./bin/activate with new content
       Overwriting ./bin/activate.fish with new content
       Overwriting ./bin/activate.csh with new content
-----> Activating virtualenv
-----> Installing dependencies using pip version 1.0.2
       Downloading/unpacking git+https://github.com/django/django.git (from -r requirements.txt (line 4))
         Cloning https://github.com/django/django.git to /tmp/pip-Jvyfwt-build
         Running setup.py egg_info for package from git+https://github.com/django/django.git

       Requirement already satisfied (use --upgrade to upgrade): py-bcrypt==0.2 in ./lib/python2.7/site-packages (from -r requirements.txt (line 1))
       Requirement already satisfied (use --upgrade to upgrade): ipython==0.12 in ./lib/python2.7/site-packages (from -r requirements.txt (line 2))
       Requirement already satisfied (use --upgrade to upgrade): Flask==0.8 in ./lib/python2.7/site-packages (from -r requirements.txt (line 3))
       Downloading/unpacking psycopg2==2.4.2 (from -r requirements.txt (line 5))
         Running setup.py egg_info for package psycopg2

           no previously-included directories found matching 'doc/src/_build'
         Requested psycopg2==2.4.2 (from -r requirements.txt (line 5)), but installing version 2.4.4
       Downloading/unpacking django-sha2==0.4 (from -r requirements.txt (line 6))
         Could not find any downloads that satisfy the requirement django-sha2==0.4 (from -r requirements.txt (line 6))
       No distributions at all found for django-sha2==0.4 (from -r requirements.txt (line 6))
       Storing complete log in /app/.pip/pip.log
 !     Heroku push rejected, failed to compile Python/django app

To git@heroku.com:growing-mountain-9962.git
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'git@heroku.com:growing-mountain-9962.git'
hh:djangoherokutest Kinnovate$ pip install django-sha2
Requirement already satisfied (use --upgrade to upgrade): django-sha2 in /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/django_sha2-0.4-py2.7.egg
Requirement already satisfied (use --upgrade to upgrade): Django>=1.2 in /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages (from django-sha2)
Cleaning up...

how do i fix this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T02:13:28+00:00Added an answer on May 31, 2026 at 2:13 am

    Try putting
    git+https://github.com/fwenzel/django-sha2.git
    instead of
    django-sha2==0.4

    in the requirements.txt. This will link straight to the package.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am having problems deploying a Rails app to Heroku, I can't even run
I'm having problems deploying a simple WebServices app (like Hello World simple) to OC4J.
I'm having problems deploying a Spring web app to Tomcat 6.0. I want to
Deploying an app first time with Capistrano, but having problem running the cap deploy:update
We are having some problems deploying our WCF services into IIS7. We have two
I'm having problems deploying my website to the live server using VWD 2010 Express.
I'm having some problems publishing an asp.net mvc3 application. When deployed, the application fails
It seems the world is awash with people having problems deploying RIA WCF services,
I'm having problems deploying my application to a production server (shared hosting). Everything works
I'm having problems with deploying an application on Windows that displays an animated gif.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.