Modulenotfounderror: No Module Named 'Torchtext.legacy'. No module named ‘bpy’ april 25, 2022 by grindadmin just successfully build blender out and would like to have a try (without installation). A simple way is to build pytorch from source and use the same environment to build torchtext.
第二步：将里面的import torchtext 改成 import torchtext.legacy as torchtext第三步，关闭jupyter重新打开，成功。. From torchtext.legacy.data import batch modulenotfounderror: This error occurs while importing the library from within jupyter (notebook & lab), with jupyter==1.0.0 and jupyterlab==0.33.4.