Calendar

Sponsors

RSS

About

This is a collection of video tutorials on anything to help developers of all standards. Ranging from ColdFusion to Source Control and Automated Builds.

Install Python 2.5 on Windows

Posted At : January 21, 2008 8:15 PM | Posted By : Inner Rhythm TV
Related Categories: Windows , Python

Before we install Trac we need to install Python and the modules for Apache and SVN. If you haven't downloaded the Zip File then do so now, this Zip Contains all the files required to Install Apache, SVN & Trac. there is a Video to View [QuickTime | You Tube] You can increase the size of each of the images by clicking on them, so lets get started:

Goto the Python folder of the ubzipped file, double click  the file python-2.5.1.msi
You may get a security warning, if so click the Run button.
The installer will start, ensure Install for all users is seected and then click the next button.
The next screen displays the install directory, again we need to ensure we install into the Apps Directory
The following screen displays the components leave this as is and click the next button.
The install will then start.
Once complete click Finish
You will then be asked to restart your computer, for now select no.
Go to the Install folder for Python i.e. c:\Apps\Python25 and copy the location.
Right click My Computer and select properties.
Click the Advanced Tab, then the Enviroment Variables button.
Highlight Path in the System Variables box and click the Edit button.
At the end of the value line place a semi colon ';' then paste the location in,  follow this with another semi colon and paste the location in again adding \Scripts Click OK twice to close the System Properties dialogues.
Now restart your computer.
Once your system reboots go back to the Python folder of the unzipped Folders.  Double click the file mod_python-3.3.1.win32-py2.5-Apache2.2.exe 
You may get a security warning, if so click the Run button.
The installer will run, click the next button.
Ensure the installer picks up the correct location of the python install, and click the next button.
The next screen informs you it's ready to install click the next button to install.
The install will take place.
You will be asked for the install directory for apache you should find it at C:\Apps\Apache Software Foundation\Apache2.2 and click Ok
Next you will find the final screen highlight the Loadmodule line, right click and select copy.
Once Copied click Finish
You will then need to go to the conf folder of Apache and open the httpd.conf file.
Goto the section of the file where we have added other parts
Paste in the copied Lodmodule line, under the other load modules, you can also comment the line starting with a hash/pound sign.
Save the File
Restart Apache.
Go back to the Python folder and double click the svn-python-1.4.6.win32-py2.5.exe file.
You may get a security warning, if so click the Run button.
When the installer starts click the next button.
Ensure the installer finds the correct install path of Python and click the next button.
You will then get the ready to install screen, click the next button.
Once complete click the Finish button.
Open a command window and goto the Python installer folder in this case: C:\Documents and Settings\Administrator\Desktop\TracDownload\Python
Type ez_setup.py and press return.
This will install the easy installer
next type ez_setup.py setuptools==dev and press enter
This will install the latest version of the setup tools from the trunk, this is required by some parts of the setup. You can then close the command window.

For more help with your Apache, Subversion or Trac install please contact

.

Related Blog Entries

Comments
Will Wilson's Gravatar Just noticed a typo. Where it says about setting up the environment variables, you put "/Script" when it should be "/Scripts". Had me scratching my head a bit to why easy_install wasn't working.

Great post though! This has been a HUGE help to me with installing Trac et al, thanks!


# Posted By Will Wilson | 3/23/08 9:25 PM
Will Wilson's Gravatar Sorry, "\Scripts"

# Posted By Will Wilson | 3/23/08 9:26 PM
Big Mad Kev's Gravatar Cheers Will,

I've updated now

BMK


# Posted By Big Mad Kev | 3/23/08 10:16 PM