Are you sure you installed it for the correct version of Python on your system?
A better (more isolated) way is to use a virtual environment:
[~]$ virtualenv --no-site-packages django_env New python executable in django_env/bin/python Installing setuptools............done. [~]$ source django_env/bin/activate (django_env)[~]$ pip install -e svn+http://code.djangoproject.com/svn/django/trunk/ Obtaining django from svn+http://code.djangoproject.com/svn/django/trunk/ Checking out http://code.djangoproject.com/svn/django/trunk/ to ./django_env/src/django Running setup.py egg_info for package django Installing collected packages: django Running setup.py develop for django Creating /Users/burhan/django_env/lib/python2.7/site-packages/Django.egg-link (link to .) Adding Django 1.4b1 to easy-install.pth file Installing django-admin.py script to /Users/burhan/django_env/bin Installed /Users/burhan/django_env/src/django Successfully installed django Cleaning up... (django_env)[~]$ python Python 2.7.1 (r271:86882M, Nov 30 2010, 10:35:34) [GCC 4.2.1 (Apple Inc. build 5664)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import django >>> django.get_version() '1.4b1'
[~] $ is an invitation, do not enter it.
source share