Here’s a summary of the software that you’ll need to install on your laptops if you’re participating in the Programming Track at BootCamp.
For the “Introduction to Programming, using Python,” you’ll need to download and install Python from www.python.org/download/releases/2.7.1/. Make sure you choose the version that matches your computer. Current Macs (i.e., those that don’tuse PowerPC chips) should use the last link. If you’re on Windows, you’ll need to know if you’re using a 32- or 64-bit processor. Documentation about Python can be found at docs.python.org/.
For the second session, “Introduction to the Django Framework, Using Python,” you’ll need to download and install Django. Please note that you must install Python before installing Django. Documentation about Django can be found at docs.djangoproject.com/en/1.2/.
Installing Django On a Mac
Download Django from www.djangoproject.com/download/. Once it’s downloaded, you’ll need to work through your command line interface, which you’ll find in Applications > Utilities > Terminal. Once in the terminal, you will need to go to the directory where you’ve saved the Django download. I’d saved the file to the desktop, so I typed “cd desktop.” I then had to type the following (w/o quotation marks): “tar xzvf Django-1.2.5.tar.gz”. This extracted the files for Django. I then entered the Django directory by typing “cd Django-1.2.5”. And then I ran the install by typing “sudo python setup.py install”. I had to authorize the sudo process, and then I was set.
Installing Django on a PC
The easiest way to install Django is to download Python’s setuptools from pypi.python.org/pypi/setuptools. Once that set of tools has been installed, access your command line. You should then be able to simply type “easy_install django” and it should download and install the package.
Please let Brian know if you’re having trouble getting things installed. We could perhaps makes some screenshots if necessary.
#1 by adellefrank on February 27, 2011 - 8:34 am
I had trouble getting both Python and Django on my Windows 7, 64-bit laptop. Instead, I dual-booted ubuntu 10.04 using unetbootin, upgraded to 10.10, and then followed the linux instructions.
Just my 2 cents 🙂
#2 by adellefrank on February 27, 2011 - 8:36 am
Oh, and I had to use EASEUS partition master to in win7 to get windows to give me enough partition space.
#3 by mzbaile on March 1, 2011 - 9:03 am
I believe I downloaded both correctly. Is there a simple test I can try to be sure I downloaded the right things and everything is working properly?
#4 by scottturnbull on March 1, 2011 - 9:44 am
@adellefrank On the windows 7 install, what installer did you use? The Windows MSI and Windows 64 MSI installers traditionally work pretty well for most users. Did you use that or a different installer from www.python.org/download/ ?
@mzbaile I don’t want to make any assumptions so forgive any seemingly obvious questions.
You mentioned you downloaded it but did you follow the installation instructions that go with your version and installer?
The Django Quick Install directions contain some brief and effective ways to check if both Python and Django are installed.
You can find that here docs.djangoproject.com/en/dev/intro/install/
Let me know if that helps.
#5 by adellefrank on March 3, 2011 - 8:13 am
I installed Python fine on the the 64-bit, but I couldn’t figure out how for Django. Also, there’s a LOT more GUIs and free software for ubuntu, than for win7! 🙂