help > ModuleNotFoundError: no module named 'itk'
Showing 1-2 of 2 posts
Display:
Results per page:
Apr 23, 2020  05:04 PM | Alex Brown
ModuleNotFoundError: no module named 'itk'
Hello,

I have installed the most recent release of Auto_EACSF on Centos6. After hitting execute on the GUI I immediately get the following error:

While running : /usr/src/Python-3.6.9/python
Following error(s) occured :
Traceback (most recent call last): File "/home/alex/Desktop/output/PythonScripts/main_script.py", line 10, in import itk ModuleNotFoundError: No module named 'itk'


Have I not set my executable paths correctly or is this related to ITK?  Please let me know if you need any additional information.

Thanks,
Alex
Apr 23, 2020  07:04 PM | Juan Prieto - NIRAL
RE: ModuleNotFoundError: no module named 'itk'
Hi Alex, 

The python modules may not be installed. The packaged version contains the GUI and the execution scripts but the additional python modules may need to be installed. 

Could you try installing the itk python package? 

You should be able to do that by opening a terminal window and running the command

pip install itk


Thanks,