<font size=2 face="sans-serif">Hi,</font>
<p><font size=2 face="sans-serif">When running some itk programs, which
worked a year ago, e.g. the first few lines of the itk test: MeanImageFilter.py:</font>
<p><font size=2 face="sans-serif">import itk</font>
<br><font size=2 face="sans-serif">dim = 2</font>
<br><font size=2 face="sans-serif">IType = itk.Image[itk.F, dim]</font>
<br><font size=2 face="sans-serif">imageFileName='BrainProtonDensitySliceBorder20.png'</font>
<br><font size=2 face="sans-serif">reader = itk.ImageFileReader[IType].New()</font>
<br><font size=2 face="sans-serif">reader.SetFileName(imageFileName)</font>
<br><font size=2 face="sans-serif">reader.Update()</font>
<br>
<br><font size=2 face="sans-serif">I now receive the following output and
error message when running it with Spyder (Python 2.7) :</font>
<br>
<br><font size=2 face="sans-serif">Python 2.7.10 (default, May 23 2015,
09:40:32) [MSC v.1500 32 bit (Intel)] on win32</font>
<br><font size=2 face="sans-serif">Type "help", "copyright",
"credits" or "license" for more information.</font>
<br><font size=2 face="sans-serif">>>> runfile('C:/Users/koch05/Documents/WS_14_15/Book/py_mybook/codes/ch11/my_Filter.py',
wdir='C:/Users/koch05/Documents/WS_14_15/Book/py_mybook/codes/ch11')</font>
<br><font size=2 face="sans-serif">Traceback (most recent call last):</font>
<br><font size=2 face="sans-serif"> File "<stdin>",
line 1, in <module></font>
<br><font size=2 face="sans-serif"> File "C:\Python27\lib\site-packages\spyderlib\widgets\externalshell\sitecustomize.py",
line 688, in runfile</font>
<br><font size=2 face="sans-serif"> execfile(filename, namespace)</font>
<br><font size=2 face="sans-serif"> File "C:\Python27\lib\site-packages\spyderlib\widgets\externalshell\sitecustomize.py",
line 72, in execfile</font>
<br><font size=2 face="sans-serif"> exec(compile(scripttext,
filename, 'exec'), glob, loc)</font>
<br><font size=2 face="sans-serif"> File "C:/Users/koch05/Documents/WS_14_15/Book/py_mybook/codes/ch11/my_Filter.py",
line 30, in <module></font>
<br><font size=2 face="sans-serif"> reader.Update()</font>
<br><font size=2 face="sans-serif">RuntimeError: C:\u\itk-git\_b\Modules\Remote\SCIFIO\src\itkSCIFIOImageIO.cxx:274:</font>
<br><font size=2 face="sans-serif">itk::ERROR: SCIFIOImageIO(103ADF70):
SCIFIO_PATH is not set. This environment variable must point to the directory
containing the SCIFIO JAR files</font>
<br><font size=2 face="sans-serif">>>></font>
<br>
<br><font size=2 face="sans-serif">Additional remark: in the Python27 site-package,
inside the itk folder are the files SCIFIO.py and SCIFIOPython.py and in
the Configuration folder: SCIFIOConfig.py</font>
<br>
<br><font size=2 face="sans-serif">How can I fix this problem? Any help
is highly appreciated.</font>
<br>
<br><font size=2 face="sans-serif">Hans</font>
<br>