I've found that mixing Windows/Cygwin binaries for Python/Django creates confusing problems. It's best to treat each environment like the other doesn't exist with respect to dependencies.
It looks like you are using the Windows binary instead of the one compiled for cygwin. -Nathan On Wed, Sep 17, 2008 at 5:34 AM, draft <[EMAIL PROTECTED]> wrote: > > All, > > I'm having issues running the django-admin.py script from Cygwin after > installing Django. When I run it, I get the following error: > > $ django-admin.py > c:\Python25\python.exe: can't open file '/cygdrive/c/Python25/Lib/site- > packages/django/bin/django-admin.py': [Errno 2] No such file or > directory > > Note that it's finding the script's correct location as the Django bin > directory is in my PATH. And, the file is definitely there and is > executable: > > $ ls -al /cygdrive/c/Python25/Lib/site-packages/django/bin/django- > admin.py > -rwx--x--x+ 1 username DomainUsers 128 Dec 30 2006 /cygdrive/c/ > Python25/Lib/site-packages/django/bin/django-admin.py > > I've tried re-installing both Django and Python to no avail. Also, > it's important to note that this works in Windows, so I would imagine > it's something wrong with my environment or some setting in Cygwin > that is preventing this. Any help is much appreciated. > > Thanks, > David > > > > --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---