[fastai.text] prerequisites for running TextList.from_csv

%%time

throws BrokenProcessPool' Error sometimes. Keep trying till it works!

count = 0
error = True
while error:
try:
# Preprocessing steps
data = (TextList.from_csv(path, ‘train_rev.csv’, cols=‘text’)
.split_from_df(col=2)
.label_from_df(cols=0)
.databunch())
error = False
print(f’failure count is {count}\n’)
except: # catch all exceptions
# accumulate failure count
count = count + 1
print(f’failure count is {count}’)

I am trying to run this code on a NLP dataset. However, my failure count keeps increasing and it never stops.
Is there any prerequisites for running TextList.from_csv ?

Referring to the following notebook from the course :

I am also stuck on it. seems it went in infinite loop, any help would be appreciated