pip install pytorch-pretrained-bert==0.6.1
安装pytorch-pretrained-bert包的过程中出现错误:
版本不匹配,找不到适应版本;或是镜像错误
换其他镜像源
pip install pytorch_pretrained_bert==0.6.1 -i https://pypi.tuna.tsinghua.edu.cn/simple
参考: 问题总结:ModuleNotFoundError
ERROR: Could not find a version that satisfies the requirement