<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font size="-1">Hi,<br>
<br>
</font>I have tried this to the pyinstaller list, and it was
suggested I tried here.<br>
<br>
I am working on a linux box using ITK V4.7.1 within a python script,
which executes without error.<br>
However, when I build an executable with pyinstaller, on execution I
get the following error<br>
<br>
Information<br>
Filename : junk.img<br>
Traceback (most recent call last):<br>
File "Segment_Image.py", line 97, in <module><br>
image_type = itk.Image[itk.F, 3]<br>
NameError: name 'itk' is not defined<br>
<br>
I tried<br>
python pyinstaller.py --hidden-import=itk Segment_Image.py<br>
but during the build I get the message<br>
52820 INFO: Hidden import 'itk' has been found otherwise<br>
<br>
Can anyone point me in the direction to resolve this. <br>
<br>
Thanks<br>
<br>
Peter<br>
</body>
</html>