Python int too large to convert to C long with torchtext

Hey guys,

I’m following the tutorial " Text Classification with TorchText" and get errors here:

“OverflowError: Python int too large to convert to C long”

I searched the forum and it seems someone fixed the error by change the the 129th line of “torchtext/utils.py” from “csv.field_size_limit(sys.maxsize)” to “csv.field_size_limit(maxInt)”, however it doesn’t work for me, is there anyone know why?

Thanks for your help!