FARSIGHT Tutorials/Just Installing Software
From FarsightWiki
Revision as of 14:54, 4 May 2009 by LuisIbanez (Talk | contribs)
Contents |
Details
- Goal: This tutorial shows you how to install ITK + Python wrapping without having to build it.
- Duration: 30 minutes
- Requisites: Basic familiarity with Python commands
- Materials: Python installed
Download
Download the ITK+PythonWrapping INSTALLER from:
ITK With Python Wrapping Installer
Install
- Run the executable
- Read the license
- (seriously, it is not that long, and it is Open Source)
- Accept the License
- Select the directory where you want to install the software.
- It requires 350Mb of free disk space
- We will call this directory the INSTALLATION directory.
- Write it down since you will need it for subsequent steps
Configure
Windows
You will define several environment variables. Depending on your version of windows this is done in slightly different ways.
In Windows XP you can do
- In the Start menu, select "My Computer"
- In the new window that opens, right click and select "Properties"
- In the new window that opens, select the "Advanced" tab
- In the Advanced tab, click on the "Environment Variables"
- Select the PATH variable and add to it the INSTALLATION/bin directory (where you installed ITK). You will use a ";" to separate this directory from others that may already exist in the list.
- For example
- I installed ITK in the directory D:\ProgramFiles\InsightToolkit-3.13
- Then I added to the PATH variable the directory D:\ProgramFiles\InsightToolkit-3.13\bin
- (note the /bin at the end)
- For example
- Select the PYTHONPATH variable (or create it if it doesn't exist) and add to it the directory
- INSTALLATION\lib\InsightToolkit\WrapITK\Python
- For example, in my installation, the PYTHONPATH variable contains:
- D:\ProgramFiles\InsightToolkit-3.13\lib\InsightToolkit\WrapITK\Python
- For example, in my installation, the PYTHONPATH variable contains:
- INSTALLATION\lib\InsightToolkit\WrapITK\Python
Start Enjoying
- You can now go to the * Quick Start for users of ITK (30 minutes)