On 5/18/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> errr, kind of confused:
>
> /Library/Python/2.3/site-packages/Django-0.91-py2.3.egg/django/
>
> The .egg is a directory with the django stuff in it?  If I remove that
> directory and try to start a django project, I get:
>
> Traceback (most recent call last):
>   File
> "/System/Library/Frameworks/Python.framework/Versions/2.3/bin/django-admin.py",
> line 4, in ?
>     import pkg_resources
>   File
> "/Library/Python/2.3/site-packages/setuptools-0.6a9-py2.3.egg/pkg_resources.py",
> line 2192, in ?
>     working_set.require(__requires__)
>   File
> "/Library/Python/2.3/site-packages/setuptools-0.6a9-py2.3.egg/pkg_resources.py",
> line 503, in require
>     needed = self.resolve(parse_requirements(requirements))
>   File
> "/Library/Python/2.3/site-packages/setuptools-0.6a9-py2.3.egg/pkg_resources.py",
> line 483, in resolve
>     raise DistributionNotFound(req)  # XXX put more info here
> pkg_resources.DistributionNotFound: Django==0.91
>
> Sorry to be such a newb, but I am stoked about django, just having a
> little trouble getting it all set up locally on os x...
>

Open up the easy-install.pth file in your site-packages directory.
There should be a reference to the Django egg in it. Delete that line.
It's telling Python to use the Django .egg, but since you deleted the
.egg, it complains.

Jay P.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to