FARSIGHT Tutorials/Just Installing Software

From FarsightWiki
(Difference between revisions)
Jump to: navigation, search
(New page: = Details = * '''Goal''': This tutorial shows you how to install ITK + Python wrapping without having to build it. * '''Duration''': 30 minutes * '''Requisites''': Basic familiarity with...)
 
(Download)
Line 12: Line 12:
  
 
[http://public.kitware.com/pub/itk/InsightApplicationsBin/InsightToolkitWithPythonWrapping-3.13.0-win32.exe ITK With Python Wrapping Installer]
 
[http://public.kitware.com/pub/itk/InsightApplicationsBin/InsightToolkitWithPythonWrapping-3.13.0-win32.exe ITK With Python Wrapping Installer]
 +
 +
You will get a file called
 +
 +
InsightToolkitWithPythonWrapping-3.13.0-win32.exe
 +
 +
* Save it in a temporary directory.
 +
* You will be able to dispose of this file once you finish this installation tutorial
  
 
= Install =
 
= Install =

Revision as of 14:55, 4 May 2009

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

You will get a file called

InsightToolkitWithPythonWrapping-3.13.0-win32.exe
  • Save it in a temporary directory.
  • You will be able to dispose of this file once you finish this installation tutorial

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)
  • 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

Start Enjoying

Personal tools