Kaggle kernel error - ModuleNotFound error importing 'fastai.structured'

Hi,

I faced the same problem. I added the following code -
!pip install git+https://github.com/fastai/fastai@2e1ccb58121dc648751e2109fc0fbf6925aa8887

and

!apt update && apt install -y libsm6 libxext6

before these code.

from fastai.imports import *
from fastai.structured import *
from pandas_summary import DataFrameSummary
from sklearn.ensemble import RandomForestRegressor, RandomForestClassifier
from IPython.display import display
from sklearn import metrics

It is working :slightly_smiling_face:

10 Likes