Unable to import : from fastai2.vision.all import *
RuntimeError Traceback (most recent call last)
in
----> 1 from fastai2.vision.all import *
~/.local/lib/python3.8/site-packages/fastai2/vision/all.py in
----> 1 from ..basics import *
2 from ..callback.all import *
3 from .augment import *
4 from .core import *
5 from .data import *
~/.local/lib/python3.8/site-packages/fastai2/basics.py in
----> 1 from .data.all import *
2 from .optimizer import *
3 from .callback.core import *
4 from .learner import *
5 from .metrics import *
~/.local/lib/python3.8/site-packages/fastai2/data/all.py in
----> 1 from ..torch_basics import *
2 from .core import *
3 from .load import *
4 from .external import *
5 from .transforms import *
~/.local/lib/python3.8/site-packages/fastai2/torch_basics.py in
2 from .imports import *
3 from .torch_imports import *
----> 4 from .torch_core import *
5 from .layers import *
~/.local/lib/python3.8/site-packages/fastai2/torch_core.py in
284 setattr(TensorBase, fn, get_f(fn))
285
--> 286 _patch_tb()
287
288 # Cell
~/.local/lib/python3.8/site-packages/fastai2/torch_core.py in _patch_tb()
280 for fn in dir(t):
281 if fn in skips: continue
--> 282 f = getattr(t, fn)
283 if isinstance(f, (MethodWrapperType, BuiltinFunctionType, BuiltinMethodType, MethodType, FunctionType)):
284 setattr(TensorBase, fn, get_f(fn))
RuntimeError: imag is not implemented for tensors with non-complex dtypes.