charettes/django-colorful

ImportError: No module named django.utils

Closed this issue · 0 comments

I'm getting the following error when trying to pip install a requirements file containing django and django-colorful:

  Using cached django-colorful-1.2.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-8sI7z4/django-colorful/setup.py", line 4, in <module>
        import colorful
      File "colorful/__init__.py", line 3, in <module>
        from django.utils import version
    ImportError: No module named django.utils

Obviously, Django isn't installed at this point, and so accessing django.utils fails.