Trying to create the first project. First got the below error when I ran,
django-admin.py startproject mysite
then I tried,
django-admin.py
Also symlinked the path and its in the path. But I still get the error.
.
.
.
File "/Users/Satha/django-trunk/django/bin/django-admin.py", line 7, in
execfile(file) File "/Users/Satha/django-trunk/django/bin/django-admin.py", line 4, in
from pkg_resources import require; require('Django==1.5.dev20120720114244') File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 666, in require
needed = self.resolve(parse_requirements(requirements)) File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 546, in resolve
requirements = list(requirements)[::-1] # set up the stack File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 2438, in parse_requirements
yield Requirement(project_name, specs, extras) File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 2465, in init
self.unsafe_name, project_name = project_name, safe_name(project_name) File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 1113, in safe_name
return re.sub('[^A-Za-z0-9.]+', '-', name) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/re.py", line 151, in sub File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/re.py", line 231, in _compile
RuntimeError: maximum recursion depth exceeded while calling a Python object