简体   繁体   中英

Django-Sorting-Bootstrap Heroku push failing

I'm deploying a django project with django-sorting-bootstrap on heroku and I'm having some trouble.

Here's my error

Could not find a version that satisfies the requirement django-sorting-bootstrap==2.6.2 
(from -r (my folder)/requirements.txt (line 65)) (from versions: 1.0.0, 1.0.1, 1.0.2, 1.1, 1.1.1)

Any idea why the versions only go up to 1.1.1 when the latest release is 2.62?

Make sure your virtualenv and Heroku are both using the same version of python.

In command prompt / terminal, run this to get the python version on heroku:

heroku run python --version

and on your computer:

python --version

If they are different versions, change the version django-sorting-bootstrap to an older version in requirements.txt.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM