John Antony wrote:
> I am currently using Vista OS
> I have installed Python in the path
> D:\Python26\
> and extracted the tarred file downloaded from www.djangoprojects.com
> ie "Django-1.0.tar.gz" in the path
> D:\Python26\Django-1.0\Django-1.0
> I am however unable to intall Django
> on typing the following command in command prompt I get this error:
> 
> D:\Python26\Django-1.0\Django-1.0>python setup.py install
> 'python' is not recognized as an internal or external command,
> operable program or batch file.
> 
> If I use the Python (command line) found in Start>All Programs>Python
> 2.6
> 
>>>> D:\Python26\Django-1.0\Django-1.0>python setup.py install
> File "<stdin>", line 1
> 
> How do i install Django on my system..??
> 
It seems you are suffering from a little confusion about the command in
the installation instructions.

When you see

   D:\Python26\Django-1.0\Django-1.0>python setup.py install

in the instructions, the

   D:\Python26\Django-1.0\Django-1.0>

part is intended to indicate that you are running a Windows command
shell for which the default drive/directory combination is currently as
given (and the assumption is that you have unpacked the Django
distribution into that directory). It's the standard prompt for a
windows command shell window. The command you enter is

   python setup.py install

Since you obviously have Python installed already, you may benefit from
reading

   http://www.python.org/doc/faq/windows/

but bear in mind that Start>All Programs>Python 2.6

brings up a Python interpreter inside a Windows command shell, not a
bare Windows command shell (which is what you need).

> Also post intallation I wish to create a Database with username and
> password all with the same name ie "myforum"
> 
This is really dependent on the database platform you are planning to
use, and not specifically a Django-related question anyway, though it's
related enough that I am sure that others on this list will be happy to
give you advice once you enlighten us about your choice of database.

Good luck with Django!

regards
 Steve
-- 
Steve Holden        +1 571 484 6266   +1 800 494 3119
Holden Web LLC              http://www.holdenweb.com/

--~--~---------~--~----~------------~-------~--~----~
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