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-official-release
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 Developer
http://about.me/joelinux
--
You received this message because you are subscribed to the Google Groups "Django users" group.
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.
7zip works great. I am able to unzip the .tgz file and I have my .tar
file. Now it is on to installation of it.
Okay I have worked with UNIX before so I have some knowledge. I am
studying to be a Computer Engineer at VT and have had some experience.
My intuition tells me that if I even wanted to work from the command
line I would need to adjust the: tar xzvf in windows because I
would have already unzipped it. As for the documentation would bsdtar
extract and execute? I have no issues extracting I just feel that with
little knowledge of adjusting the command line calls properly I am not
able to set this up properly in windows. This has surely helped
though!
I am not sure where you are heading with this part. I am able to
extract it just fine with 7zip. The issue is the next step. I feel
there needs to be some information on the django site that says okay
windows users have extracted your command will look like this: .......
to execute the .tar file. Not to mention the cd or current directory
command can be used to change your location to properly aligned your
current directory as well as placing the extracted .tar file in this
location you move to in the command prompt. As for formatting
purporses I am the most familiar with .zip files they are extremely
simple to work with, especially in a windows environment. I do have
experience with .tar however it DID NOT click that this was a UNIX
kernel command. As I am in windows and just assumed that was for
me. :/
Cheers
JJ
On Nov 24, 10:37 am, Tom Evans <tevans...@googlemail.com> wrote:
> https://docs.djangoproject.com/en/1.3/topics/install/#installing-an-o...
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:
> >https://docs.djangoproject.com/en/1.3/topics/install/#installing-an-o...
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.
OK, you're still not getting it. You haven't extracted anything,
you've gunzipped it. You now must use 7zip, or another tar aware
program like the command line bsdtar, to extract the contents of the
tar archive. You should not need at any stage a .tar file!
If you have gunzipped the .tar.gz file to give you a .tar file, the
bsdtar command would be different - it would be bsdtar xvf
Djang-1.3.1.tar - omitting the 'z' flag, which stands for
'gunzip/gzip' the archive ('x' is extract, 'v' verbose, 'f' 'from a
file').
Cheers
Tom
Tom,7zip works great. I am able to unzip the .tgz file and I have my .tar
file. Now it is on to installation of it.
windows users have extracted your command will look like this: .......
to execute the .tar file.
--
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/-/ZbE6FIcOUqMJ.
I was able to install Python 2.7 64-bit for Windows 7. I then
downloaded the ez_setup.py and ran it. It installed the .egg file.
I then attemped the Python command line:
- easy_install django
- easy_install ipython
However I had no success installing the packages.
I posted my error output on my site: http://madtrak.com/error.png
JJ
On Nov 24, 11:56 pm, Timothy Makobu <makobu.mwambir...@gmail.com>
wrote:
> - Install setup toolshttp://pypi.python.org/pypi/setuptools/0.6c11
> - Go to the command line (cmd.exe) and type
> - easy_install django
> - easy_install ipython (not needed by django, but very useful, as you
I think before starting django, you might want to spend a bit of time
playing with python. My students liked "coding bat", but there
should be a number of tutorials on the web.
Oh I thought that's what was meant. I did that.
Yes yes but I think I am all set up with Django from what you saw in
the other discussion.
I should google coding bat?
I have worked with some of this stuff in my engineering classes but
would it really help to learn more Python first? Django is structured
with Python but I had the impression that that was in the backend that
I would never see that. I'm all ears!!!
What I thought was the best was what I was seeing about the ease of
working with content in databases.
JJ
On Nov 25, 11:34 am, william ratcliff <william.ratcl...@gmail.com>
wrote:
> You don't run easy_install from within python, but rather from the
> command line. So, in your start window, you want to use run to start
> "cmd.exe". This will open a window with a dos prompt. From there,
> type "easy_install django" followed by the enter key....
>
> I think before starting django, you might want to spend a bit of time
> playing with python. My students liked "coding bat", but there
> should be a number of tutorials on the web.
>
You got the wrong impression. Django is all about writing applications
in python that run using the Django library and framework.
There are certain Django apps that you can use, like Satchmo,
django-cms, which are the equivalent of something like Wordpress, a
PHP app you can install and customize without knowing or writing
any/much PHP.
Cheers
Tom
I'm not sure if this has been established but I am in Windows 7.
I realized that I was in the wrong prompt so I went to cmd.exe.
I then tried both commands and returned errors:
I also tried going to the directory where I had Django located and
running the command as well as ipython but had no sucess do I need to
move to the location of the Python files to run ipython.
Maybe UNIX systems are easier to set this up then Windows? I wouldn't
be surprised.
JJ
On Nov 24, 11:56 pm, Timothy Makobu <makobu.mwambir...@gmail.com>
wrote:
> - Install setup toolshttp://pypi.python.org/pypi/setuptools/0.6c11
> - Go to the command line (cmd.exe) and type
> - easy_install django
> - easy_install ipython (not needed by django, but very useful, as you
I had a confirmation from William that I installed Django but you said
iPython would be helpful and since I don't remember much Python I was
hoping to make that work.
Thanks so much for taking the time to help me get started you're a
life saver! : )
JJ
On Nov 24, 11:56 pm, Timothy Makobu <makobu.mwambir...@gmail.com>
wrote:
> - Install setup toolshttp://pypi.python.org/pypi/setuptools/0.6c11
> - Go to the command line (cmd.exe) and type
> - easy_install django
> - easy_install ipython (not needed by django, but very useful, as you