ModuleNotFoundError: No module named 'fastai.structured'

HI,
I have not been able to get past the first lesson for over three days. I keep getting this error, and I have tried and tried my best to solve it . Please I need help so I can progress in the course. I have tried it on my local computer and also on crestle I keep getting the errors
ModuleNotFoundError: No module named ‘fastai.structured’

2 Likes

The module’s name has been changed to “tabular”. So use “from fastai.tabular import *” instead.

11 Likes

So glad I came here I have been messing around with this for 3 hours. Thanks Mauro!

It works. Thank you, Mauro

Where can I get the proc_df I found out the structured.py file that was there before and I am using that file to get over the issue of importing the functions, but tabular seems like it doesn’t have it anymore. Could someone tell me how can I call the function?

What you can is to copy the python file names structured from the library (download the from the repository on github) and put it in the same working directory then you can call import structured or if you put the whole library in the working directory you can run the code in the notebooks and it will work just fine.

Yeah I found the function after posting the query here, thanks though.

Thank you Mauro ! I have been struggling from 2 days to fix this. Thank you very much !


where should i place the structured.py?