赞
踩
错误描述:
OSError: [WinError 127] 找不到指定的程序。
from torchtext.data import Field, LabelField, BucketIterator
问题原因与解决方法:
首先卸载高版本的torchtext,使用命令行语句如下:
pip uninstall torchtext
接着安装指定的低版本的torchtext,使用的命令行语句如下:
pip install torchtext==0.5.0
备注:这是我遇到的问题的解决方法,并不一定适用于所有情况,但是值得尝试。
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。