Re: Django Troubleshooting

48 views
Skip to first unread message

Lachlan Musicman

unread,
Oct 19, 2012, 12:15:03 AM10/19/12
to django...@googlegroups.com
On Fri, Oct 19, 2012 at 4:07 PM, Sun Simon <wingm...@gmail.com> wrote:
> https://www.djangoproject.com/download/
>
> I am installing Django for Python on Win XP and came across this problem
> during installation:
>
>
> tar xzvf Django-1.4.2.tar.gz
> cd Django-1.4.2
> sudo python setup.py install
>
>
> What does "cd" mean? DOes it mean that I have to use command line to type
> it?

Yes, those are linux commands - you need to be in the directory.

I've not installed on Windows, but sudo wont work either, FYI. Run the
cmd as administrator and you wouldn't need it

Cheers
L.


>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/django-users/-/RmTilhDq4WIJ.
> To post to this group, send email to django...@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.



--
...we look at the present day through a rear-view mirror. This is
something Marshall McLuhan said back in the Sixties, when the world
was in the grip of authentic-seeming future narratives. He said, “We
look at the present through a rear-view mirror. We march backwards
into the future.”

http://www.warrenellis.com/?p=14314

Avraham Serour

unread,
Oct 19, 2012, 4:42:06 AM10/19/12
to django...@googlegroups.com
you should use pip to install, why are you installing from source?
if you are worried about filling your python installation with lots of stuff you should use virtualenv

Laxmikant Gurnalkar

unread,
Oct 20, 2012, 4:10:29 AM10/20/12
to django...@googlegroups.com
On Windows Use 7zip software to install extract tarballs (tar.gz files) and use extracted folder as a extracted zip use
In Command prompt type 
(Supposed that you are extractng django on C drive) 
cd\ <enter>
cd Django-1.4.2 
then check your python installed directory pythonXX where, xx is version.
Then type
c:\pythonxx\python.exe setup.py install
This will install django

--
GlxGuru

Amyth Arora

unread,
Oct 20, 2012, 7:55:00 PM10/20/12
to django...@googlegroups.com
Yeah,

those are CLI commands. Although "tar" and "sudo" would not work with windows as they are linux terminal commands. you may follow this easy step by step procedure on how to setup django on windows. Though this was written for windows 7 but the steps are the same for windows XP as well. Only difference is that in windows vista or 7 you need to launch the command prompt specifically as an administrator.


On Fri, Oct 19, 2012 at 9:37 AM, Sun Simon <wingm...@gmail.com> wrote:
https://www.djangoproject.com/download/

I am installing Django for Python on Win XP and came across this problem during installation:
 
tar xzvf Django-1.4.2.tar.gz
cd Django-1.4.2
sudo python setup.py install


What does "cd" mean? DOes it mean that I have to use command line to type it?

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/RmTilhDq4WIJ.
To post to this group, send email to django...@googlegroups.com.
To unsubscribe from this group, send email to django-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.



--
Thanks & Regards
----------------------------

Amyth [Admin - Techstricks]
Email - aroras....@gmail.com, ad...@techstricks.com
Twitter - @mytharora
http://techstricks.com/

Jani Tiainen

unread,
Oct 22, 2012, 5:47:21 AM10/22/12
to django...@googlegroups.com
19.10.2012 7:07, Sun Simon kirjoitti:
> https://www.djangoproject.com/download/
>
> I am installing Django for Python on Win XP and came across this problem
> during installation:
>
> |tar xzvf Django-1.4.2.tar.gz
> cd Django-1.4.2
> sudo python setup.py install
>
>
> What does "cd" mean? DOes it mean that I have to use command line to type it?
> |
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Django users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/django-users/-/RmTilhDq4WIJ.
> To post to this group, send email to django...@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.

And if you want to go through slightly more complex setup than provided
here and use virtualenv I wrote short tutorial as well:

http://djangonautlostinspace.wordpress.com/2012/04/16/django-and-windows/

--
Jani Tiainen

- Well planned is half done and a half done has been sufficient before...

Sun Simon

unread,
Oct 23, 2012, 1:52:54 AM10/23/12
to django...@googlegroups.com
Thank you sir. It works!
Reply all
Reply to author
Forward
0 new messages