1.程序有错误,报错那一行显示有一个双引号的“w”,将双引号修改为单引号;2.ubuntu没有自带中文输入法,需要自己安装,可以参考如下教程进行:https://mp.csdn.net/mp_blog/creation/editor/127759799