Note that there are some explanatory texts on larger screens.

plurals
  1. POTrouble deploying Django app to Heroku: name 'install' is not defined
    primarykey
    data
    text
    <p>EDIT: I narrowed down the problem to the presence of the "distribute==0.6.10" line in the requirements.txt file. Removing that line fixes the problem, and haven't run into any errors from that line not being there... yet.</p> <p>I'm following the tutorial here: <a href="http://devcenter.heroku.com/articles/django" rel="nofollow">http://devcenter.heroku.com/articles/django</a></p> <p>Everything was going well, until I got to the part titled "Running a Worker". I have the following in my requirements.txt file:</p> <pre><code>Django==1.3 amqplib==1.0.1 anyjson==0.3.1 celery==2.3.3 distribute==0.6.10 django-celery==2.3.3 django-kombu==0.9.4 django-picklefield==0.1.9 gunicorn==0.12.2 kombu==1.4.1 psycopg2==2.4.2 pyparsing==1.5.6 python-dateutil==1.5 wsgiref==0.1.2 </code></pre> <p>And I added the appropriate celery config to the end of my Procfile and settings.py as indicated in the instructions. When I deploy the app I get the following error:</p> <pre><code> Relaunching... Traceback (most recent call last): File "&lt;string&gt;", line 1, in &lt;module&gt; NameError: name 'install' is not defined Complete output from command /tmp/build_2o84wdweodb97/bin/python2.7 -c "import setuptools;__file__='/tmp/build_2o84wdweodb97/build/distribute/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --single-version-externally-managed --record /tmp/pip-LIti3K-record/install-record.txt --install-headers /tmp/build_2o84wdweodb97/include/site/python2.7: </code></pre> <p>The full deploy log can be found here: <a href="http://pastie.org/2609107" rel="nofollow">http://pastie.org/2609107</a></p> <p>Anybody seen this before or know how to fix it?</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload