मैं heroku push master
चल रहा था पर अजगर पैकेज हटाने, और मिल गया इस:मैन्युअल Heroku
----- Python app detected
----- No runtime.txt provided; assuming python-2.7.3.
----- Using Python runtime (python-2.7.3)
----- Installing dependencies using Pip (1.2.1)
Downloading/unpacking Django-1.5c2 from https://www.djangoproject.com/download/1.5c2/tarball (from -r
requirements.txt (line 1))
Cannot determine compression type for file /tmp/pip-rYIGHS-unpack/tarball.ksh
Running setup.py egg_info for package Django-1.5c2
Installing collected packages: Django-1.5c2
Running setup.py install for Django-1.5c2
changing mode of build/scripts-2.7/django-admin.py from 600 to 755
changing mode of /app/.heroku/python/bin/django-admin.py to 755
========
WARNING!
========
You have just installed Django over top of an existing
installation, without removing it first. Because of this,
your install may now include extraneous files from a
previous version that have since been removed from
Django. This is known to cause a variety of problems. You
should manually remove the
/app/.heroku/python/lib/python2.7/site-packages/django
directory and re-install Django.
Successfully installed Django-1.5c2
मैं पिछले Django पैकेज कैसे निकाल सकते हैं?
अद्यतन: मेरे requirements.txt:
https://www.djangoproject.com/download/1.5c2/tarball/**#egg=django**
South==0.7.6
argparse==1.2.1
distribute==0.6.24
dj-database-url==0.2.1
psycopg2==2.4.6
wsgiref==0.1.2
PIL==1.1.7
बोल्ड तय ऊपर चेतावनी में पाठ।
अद्यतन 2: Django 1.5 के बाद से आधिकारिक तौर पर जारी किया गया था, मैं सिर्फ पिप फ्रीज प्रयोग किया है:
Django==1.5
South==0.7.6
argparse==1.2.1
distribute==0.6.24
dj-database-url==0.2.1
psycopg2==2.4.6
wsgiref==0.1.2
PIL==1.1.7
Django आपके 'requirement.txt' में निर्दिष्ट कैसे है? क्या आप इसे किसी विशेष संस्करण का उपयोग करने के लिए कह रहे हैं? – culix
कृपया ऊपर दिए गए अपडेट को देखें। – blaze
@metroxylon जांचें कि जब आप 'heroku logs -t' में परिवर्तन को दबाते हैं तो अपने डायनो के साथ क्या होता है। आवश्यकता से 'Django == 1.5' को हटाने का प्रयास करें, प्रतिबद्ध करें, उसकेोकू को दबाएं, फिर django के साथ जोड़ें और प्रतिबद्ध करें। – nk9