Wednesday, February 26, 2014

Re: Django Windows Install Issues



On Tuesday, February 25, 2014 2:23:49 PM UTC-7, Joe Buty wrote:
Hello, I am having trouble getting Django to work. I have installed python and downloaded and unzipped the .tar file for django. I am using windows 8 ugh and can not open the instal file. I read through the setup.py and I think I need help setting the correct path. Either moving the Django unzip folder or declare where it is. 

If any one can offer me advice or even just describe how they got Django to work, whether its on Win8 or something more useful.

Django will run on your machine -- it's a bit of a challenge.  I usually switch my dual-boot laptop on to Linux for serious django work, but have it set up so that I can maintain the same code on either platform.  Here's what you will need:

To get started:...
  You need a copy of a good, general purpose compression/decompression utility like 7-zip.  That will unpack your .tar and .gz files.

  A copy of Python.  I recommend installing Python 3.3 because the Python Launcher for Windows makes life on the command line so much easier -- and you will be spending a LOT of time running command line commands.  If you want to use Python 2.7, then install both.  The launcher will run Python 2 by default unless you tell it otherwise.  Try to write your programs in a Python 2.7 compatible dialect of Python 3, no matter which Python version you use.  Learn how to set environment variables, you will need them.

  Some kind of minimal Python IDE.  IDLE (that comes with Python) is not the best.  I like the one that comes with pywin32. If you are going to do anything serious on Windows, (os interface, SQL, native graphics ...) you need pywin32. Note: it works in 64 bit Windows, too, using the same name.

Then, as soon as you decide to start getting serious:...

  You need pip -- even though it is terrible to install on Windows.  See http://stackoverflow.com/questions/4750806/how-to-install-pip-on-windows

  A good Python IDE.  If you have already purchased Visual Studio, get Python tools for Visual Studio which works quite well with CPython. Otherwise, try the free version of PyCharm. I run it on both my Windows machine (free version) and Linux (the boss paid for the commercial license on that one.)

  A copy of git. It is my least favorite distributed source control system, but is the de-facto standard for django projects.
 
  virtual env wrapper for Windows to keep your different projects from stepping on each other.

 Happy downloading, and good luck in your efforts.
--
VC

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/6c07a241-4426-42f1-8d2e-8fdf56e2af45%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment