How to install fastai medical module?

Hello I have installed fastai and I can’t import from fastai2.medical.imaging import * what can be issue I also installed kornia.

>>> import fastai
>>> fastai.__version__
'2.4.1'
>>> 

here is my system output please help
When I import the above medical module it says

---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-15-5d79546b95ef> in <module>
----> 1 from fastai2.medical.imaging import *

~/anaconda3/envs/chest-weak/lib/python3.6/site-packages/fastai2/medical/imaging.py in <module>
      7 #Cell
      8 from ..test import *
----> 9 from ..basics import *
     10 from ..vision.all import *
     11 

~/anaconda3/envs/chest-weak/lib/python3.6/site-packages/fastai2/basics.py in <module>
----> 1 from .data.all import *
      2 from .optimizer import *
      3 from .learner import *
      4 from .metrics import *
      5 from .interpret import *

ModuleNotFoundError: No module named 'fastai2.data'

You should use from fastai.medical.imaging import *

Also please don’t @ Jeremy unless it’s absolutely necessary :slight_smile:

2 Likes

Okay I solved this someone help me in office thanks you and will not again