Hi,

I am working on a linux box using ITK V4.7.1 within a python script, which executes without error. However, when I build an executable with pyinstaller, on execution I get the following error

    Information
        Filename : junk.img
    Traceback (most recent call last):
      File "Segment_Image.py", line 97, in <module>
        image_type = itk.Image[itk.F, 3]
    NameError: name 'itk' is not defined

I tried
    python pyinstaller.py --hidden-import=itk Segment_Image.py
but during the build I get the message
    52820 INFO: Hidden import 'itk' has been found otherwise

Can anyone point me in the direction to resolve this.

Thanks

Peter


--
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pyinstaller.
For more options, visit https://groups.google.com/d/optout.

Reply via email to