On 18 August 2010 07:29, Marty <dmar...@clubiva.com> wrote: > Runing on Windows 7 > First time user of Django and Python. Got python installed at f: > \python27, downloaded DJango tar file. Used WInRAR to extract. > Copied all of DJANGO into Python27
You actually don't need to do that; setup.py automatically copies the files into the right location. There's no harm done, but just a waste of space sitting in Python27 (although probably too hard now to identify the Django files and delete them). For reference in the future, or if someone else stumbles on to this thread, here's the easiest way to install and use Python + Django on Windows 7. 1. Download and install ActivePython (it's a Python distribution by ActiveState specifically designed for Windows). http://www.activestate.com/activepython/downloads 2. Open up the command prompt (Start -> Accessories -> Command Prompt). [Sidenote - Windows PowerShell is not the same as the Command Prompt; similar, but not the same] 3. Type 'pip install Django' (without the quotes) and press ENTER. Django will start installing. [Sidenote - it will install it into <location where ActivePython is installed, e.g. C:\Python27>\Lib\site-packages, but you don't really need to worry about this.] 4. Navigate to the directory you want your Django code to reside in. If you don't like using the command prompt, find the directory in Windows Explorer, hold SHIFT and right-click on the directory. Select 'Open Command Window Here'. 5. Type 'django-admin.py startproject project_name' (without quotes), replacing project_name with your project name, then press ENTER. >From here on, you should be able to follow the tutorial as it is written because ActivePython has set up the Python environment as it is on *nix systems (i.e. set up file associations for .py files, put in the right PATH variables etc.) -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.