Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

170
Views
La instalación falló con Django-Chronograph por pip en django 1.10

Similar a esta pregunta pero tengo un error diferente.

Estoy tratando de instalar a través de pip con:

 pip install django-chronograph

estoy usando python 2.7 y un 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 answers
Answer question

0

El problema está en el script de instalación proporcionado por django-chronograph .

En la línea 16 de setup.py , intenta descargar un script: https://bitbucket.org/wnielson/django-chronograph/src/f561106f6aaab62f2817e08e51c799320fd916d9/setup.py?at=default&fileviewer=file-view-default#setup.py -dieciséis

en este bloque de código:

 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')

Sin embargo, cuando visita la URL en http://nightly.ziade.org/distribute_setup.py , da un error 404, por lo tanto, el html devuelto en el error.

Parece que podrías distribuirlo aquí: https://pypi.python.org/pypi/distribute/0.7.3

O intente hacer esto antes de instalar django-chronograph:

 pip install distribute

¡Buena suerte!

over 4 years ago · Santiago Trujillo Report

0

django-chronograph no se mantiene. Su bifurcación funciona mucho mejor y tiene soporte para Django 2.0 y Django 2.1: https://github.com/chrisspen/django-chroniker

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!