code-runner刚下载下来的默认解释器是系统自带的,并不是anaconda的。 选择文件-首选项 找到code-runner: executor map 找到python的命令,改为自己的解释器位置即可