问题系列————VS Code 中Python 报警告信息reportMissingModuleSource

reportMissingModuleSource警告信息

问题系列————VS Code 中Python 报警告信息reportMissingModuleSource_第1张图片

解决方法

  1. .vscode目录下,打开settings.json文件
    问题系列————VS Code 中Python 报警告信息reportMissingModuleSource_第2张图片
  2. 增加Python解释器路径
"python.defaultInterpreterPath": "/home/public/anaconda/anaconda3/bin/python3.8",

问题系列————VS Code 中Python 报警告信息reportMissingModuleSource_第3张图片

你可能感兴趣的:(ubuntu,linux)