Can't install from empty virtualenv
chronossc opened this issue · comments
When installing from a empty virtualenv, I get this:
Obtaining django-json-field from git+git://github.com/chronossc/django-json-field.git#egg=django-json-field (from -r requirements.txt (line 12))
Updating /home/crmadm/virtualenvs/crm-prd/src/django-json-field clone
Running setup.py egg_info for package django-json-field
Traceback (most recent call last):
File "", line 14, in
File "/home/crmadm/virtualenvs/crm-prd/src/django-json-field/setup.py", line 1, in
import json_field
File "json_field/init.py", line 1, in
from django.core.exceptions import ImproperlyConfigured
ImportError: No module named django.core.exceptions
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 14, in
File "/home/crmadm/virtualenvs/crm-prd/src/django-json-field/setup.py", line 1, in
import json_field
File "json_field/init.py", line 1, in
from django.core.exceptions import ImproperlyConfigured
ImportError: No module named django.core.exceptions
After installs Django, it works.
Noted. Instead of importing the version from the base init file I'll maintain the version string in two places. Not the end of the world.