How to install PyFlag under Windows

There is now a very experimental port of PyFlag for windows. As with everything in windows, installation is a little fiddly so this wiki page is here to help people install under windows. The main problem is that dependencies are not automatically installed so you will need to install all the dependencies by hand. Fortunately, PyFlag has only a few dependencies these days and so it should not take long. For convenience we make all the dependencies available from http://www.pyflag.net/downloads/windows/ which should make the task of hunting around for the right versions easier.

Prerequisites

You will need to install the following prerequisites in the same order:

  1. MySQL database - mysql-essential-5.0.67-win32.msi. When that's installed you will need to configure it make sure to:
    1. Disable the strict sql checkbox
    2. Ensure the server is listening on TCP and root access is allowed over TCP
    3. Ensure that a password is set
    4. Increase the number of simultaneous connections to at least 100
  2. Install Python2.5 - python-2.5.2.msi
  3. Install other python modules - MySQL-python-1.2.2.win32-py2.5.exe, pywin32-210.win32-py2.5.exe, PIL-1.1.6.win32-py2.5.exe
  4. Ensure you have firefox installed. PyFlag currently does not support Internet Explorer (IE 6 is known to not work fully, maybe IE7 works ok can someone check?). Firefox Setup 3.0.3.exe

  5. Download the pyflag windows zip file pyflag_win_0.87pre2.0.zip. You will need to unzip it somewhere. You will see at the top level a file called FlagHTTPServer.py . Double clicking on this file will start up the GUI http server. Point your firefox at http://127.0.0.1:8000 to complete the installation.