Thursday, November 24, 2011

Re: Installation of Django

Okay just so everyone knows!

I was able to extract the .tar file and I now see the files.

In order to import these files correctly should I place these files in the install directory of Python 2.7 and then attempt the commands?

Or is the location of Django just arbitrary can I place it wherever I like and then work from the Python prompt?

JJ

On Thu, Nov 24, 2011 at 11:58 AM, Ivo Brodien <ib@brodien.de> wrote:

windows users have extracted your command will look like this: .......
to execute the .tar file.

as tom mentioned, you have to use 7zip two times.

the tar file is another archive (like .zip, .gz ) which you have to decompress and then you have the django directory and you can go on with the tutorial.


On Nov 24, 2011, at 17:55 , JJ Zolper wrote:

JoeLinux,

Oh interesting. It seems the 64 bit version is sort of unclear. Any
help there?

Would I be able to install my Python is well with a smaller command? I
am back at ground zero because I had to adjust the Python version back
to 2.5 so Django would agree.

I am interested just not sure how to work the 64 bit version.

Thanks!

JJ

On Nov 24, 11:40 am, Joey Espinosa <jlouis.espin...@gmail.com> wrote:
If you install the "setuptools" package (http://goo.gl/UjFh), then all you
have to do to install Django (or any other Python library) is this:

easy_install django

And it will handle the rest. Just a suggestion.

--
Joey "JoeLinux" Espinosa
Software Developerhttp://about.me/joelinux
On Nov 24, 2011 10:37 AM, "Tom Evans" <tevans...@googlemail.com> wrote:







On Thu, Nov 24, 2011 at 5:00 AM, JJ Zolper <jzth...@gmail.com> wrote:
Hello,

I am new to Django! I was able to download and install: Python 2.7.2
x86 64 on my Windows 7 64 bit machine. I think that is all that I will
need to execute the command line?

I installed Python to C:/Python27 as the program intended.

I then downloaded: Django-1.3.1.tar.gz file and was try to figure
where to go to next. I used the 7 zip to extract it to:
Django-1.3.1.tar. But I wasn't sure the next steps. I opened the
Python cmd prompt. I typed the command in: tar xzvf Django-*.tar.gz.
But I got errors about the portion "xzvf" I feel that the directories
are not set up correctly. Do I need to adjust my command for the
directory because I already tried that.

I would really appreciate a step through that would get me all set up
with the baseline. I am interested to moving on from to the more in
depth chapters. I tried hard to understand the input from the comments
on the page but I was unable to find anything that gave me any sense
of direction on how to place the Django files.

Thanks!

JJ

PS. sorry this is available and I didn't see it in the new booklet.

tar.gz is a gzipped (.gz) tape archive (.tar) file. 7zip should be
able to gunzip it and extract the files from the archive - it might
require two steps.

The 'tar xzvf…' command is how one extracts a tar.gz under unix/linux
from the OS command line - not the python command line. As the docs
say, you can download and install bsdtar in windows, in which case the
OS command would be 'bsdtar zxvf …'.

This is the second time this week someone has had issues extracting a
tgz on windows - any chance that django could be packaged up in a more
Windows friendly zip file format in addition to tgz?

Cheers

Tom

https://docs.djangoproject.com/en/1.3/topics/install/#installing-an-o...

--
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
django-users+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.

--
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 django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.


--
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 django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

--
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 django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment