困扰问题

 import导入文件时报报红线,但是代码正常运行

解决办法

 文件 - 首选项 - 设置 - 搜索【pylintArgs】,设置如下代码 - 关闭vscode - 重新打开
 "python.linting.pylintArgs": [
	    "--errors-only",
	    "--disable=E0401"
    ],

Vscode pylint unable to import 解决方法

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-06-08
  • 2022-12-23
  • 2021-08-09
  • 2021-08-22
  • 2021-06-28
猜你喜欢
  • 2021-10-08
  • 2022-12-23
  • 2022-12-23
  • 2021-04-08
  • 2021-06-27
  • 2022-01-30
  • 2022-12-23
相关资源
相似解决方案