原因是安装完cuda后要添加一下环境变量,进入vim模式后不知道如何加入环境变量,于是乎参考了小甲鱼的一篇文章。 参考文章: https://www.cnblogs.com/cappuccinom/p/8978688.html