Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

169
Vistas
Install failed with Django-Chronograph by pip in django 1.10

Similar to this question but i got a different error.

I'm try to installing via pip with:

pip install django-chronograph

I'm using python 2.7 and a virtualenv

pip freeze
Django==1.10
django-backbone==0.2.3
django-jstemplate==1.1.1
gunicorn==18.0
MySQL-python==1.2.5
six==1.10.0
South==0.7.6
unicodecsv==0.9.4

Error:

pip install django-chronograph
Collecting django-chronograph
  Using cached django-chronograph-0.3.1.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/private/var/folders/87/h3ltndc5279cknk_vn9nzjjc0000gn/T/pip-build-_JDRxl/django-chronograph/setup.py", line 32, in <module>
        setup_distribute()
      File "/private/var/folders/87/h3ltndc5279cknk_vn9nzjjc0000gn/T/pip-build-_JDRxl/django-chronograph/setup.py", line 18, in setup_distribute
        distribute_setup = __import__('distribute_setup')
      File "distribute_setup.py", line 1
        <html>
        ^
    SyntaxError: invalid syntax

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/87/h3ltndc5279cknk_vn9nzjjc0000gn/T/pip-build-_JDRxl/django-chronograph/
over 4 years ago · Santiago Trujillo
2 Respuestas
Responde la pregunta

0

The problem is with the installation script provided by django-chronograph.

In line 16 of setup.py, it tries to download a script: https://bitbucket.org/wnielson/django-chronograph/src/f561106f6aaab62f2817e08e51c799320fd916d9/setup.py?at=default&fileviewer=file-view-default#setup.py-16

in this code block:

try:
    import distribute_setup
except:
    # Make sure we have Distribute
    if not os.path.exists('distribute_setup'):
        urllib.urlretrieve('http://nightly.ziade.org/distribute_setup.py',
                           './distribute_setup.py')

However, when you visit the URL at http://nightly.ziade.org/distribute_setup.py, it gives a 404 error, thus the returned html in the error.

It looks like you might be able to get distribute here: https://pypi.python.org/pypi/distribute/0.7.3

Or try doing this before you install django-chronograph:

pip install distribute

Good luck!

over 4 years ago · Santiago Trujillo Denunciar

0

django-chronograph is unmaintained. Its fork is doing much better and has support for Django 2.0 and Django 2.1: https://github.com/chrisspen/django-chroniker

over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda