Kein Modul namens Konstanten

Ich möchte eine Beispielanwendung mit Tastypie-Framework erstellen.

Ich habe Tastypie zur installierten App hinzugefügt und geänderturls.py nach Bedarf hinzufügenfrom tastypie.api import Api. Aber wenn ich aufmachehttp://localhost:8000/api/v1/?format=jsonIch erhalte die folgende Ausnahme:

Ausnahmewert: Kein Modul namens Konstanten

Wenn ich renne:

pip install constants

alles sieht ok aus

Python 2.6 (and try on 2.7)
Django 1.4
Tastypie 0.10.0

Antworten auf die Frage(1)

Ihre Antwort auf die Frage