balbasty / nitorch

Neuroimaging in PyTorch
Other
83 stars 14 forks source link

ModuleNotFoundError: No module named 'interpol' #80

Closed ivandiazzz closed 1 year ago

ivandiazzz commented 1 year ago

I am trying to install nitorch. I followed the instructions with and without C++/CUDA extensions.

I get the following error when I try

import nitorch

ModuleNotFoundError: No module named 'interpol' The error seems to come from nitorch/_C/grid.py:4

balbasty commented 1 year ago

Hi @ivandiazzz

Thanks, there was a dependency (to torch-interpol) missing. I just added it, let me know if it fixes it.

I am sorry, I've just merged lots if changes yesterday so, there may be a few other mistakes like this.

ivandiazzz commented 1 year ago

Excellent. Installing torch-interpol fixed the issue. Thank you for your quick reply.