According this this report, it could be a compatibility issues. So have check the requirements here, which seem to match my installation when checking with conda list:
Yes, these issues are indeed usually caused by mismatched versions. Just to confirm before I try to reproduce it: are you seeing this error while simply importing torchtext?
I’ve just checked again, and now it seems working. So odd, I still have the screenshot from the error and I didn’t change anything after that. Not sure where I misses something, maybe I did not restart the kernel in Jupyter appropriately.
In any case, now I get the warning
Torchtext is deprecated and the last released version will be 0.18 (this one)
so there’s no use to stick with it anymore. Probably old news, but I rarely find some time to code anything myself, so I’ve never noticed.