I guess for that to work you have to have it on Windows PATH env.
variable, and not PYTHONPATH.
That's cuz Windows can't find the file you're passing to python.

[]'s

Rodolfo


tcp escreveu:

> Hi,
>
> New to Python...getting started with Django.
>
> I've just installed Django and and following some getting started
> instructions.
>
> I'm trying to run django-admin like this:
>
> c:\myproject> python django-admin.py startproject iFriends
>
> and I get this problem:
>
> python: can't open file 'django-admin.py': [Errno 2] No such file or
> directory
>
> This shouldn't be surprising as django-admin.py is not in the current
> working directory. The file is in C:\python\Django-1.0\django\bin.
>
> I DO have C:\python\Django-1.0\django\bin on the PYTHONPATH. Here is
> proof:
>
> >>> import sys
> >>> print sys.path
> ['', 'c:\\python\\Django-1.0\\django\\bin', 'C:\\Windows\\system32\
> \python25.zip
> ', 'C:\\Python25\\DLLs', 'C:\\Python25\\lib', 'C:\\Python25\\lib\\plat-
> win', 'C:
> \\Python25\\lib\\lib-tk', 'C:\\Python25', 'C:\\Python25\\lib\\site-
> packages']
>
> So, why is python not finding the file that is on the PYTHONPATH. I
> thought the PYTHONPATH was similar to a Java CLASSPATH? Do I
> misunderstand?
>
> Tom
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to