[Python] ModuleNotFoundError: No module named 'itk'

Discussão em 'Python' iniciado por Stack, Maio 11, 2025.

  1. Stack

    Stack Membro Participativo

    On Apple M3, Sequoia 15.4.1: I am trying to run a python script on jupyter notebook, which is requiring the package 'itk':

    import itk
    ModuleNotFoundError: No module named 'itk'


    I have installed 'itk' but somehow the system cannot seem to find it?

    !python3 --version
    Python 3.12.0

    !pip3 install itk
    Requirement already satisfied: itk in /Users/<user>/.pyenv/versions/myenv/lib/python3.12/site-packages (5.4.3)


    I have tried importing the module in the command line and that seems to work fine. So it must be related to jupyter?

    Continue reading...

Compartilhe esta Página