今天用vscode 导入之前写的python工程,发现没有问题的代码 开始报错其中这个错误 出的有点莫名其妙

vscode Class '' has no 'objects' member

后来发现是pylint-django的问题   好在给解决了


打开 "设置" 然后搜索  python.linting.pylintArgs  添加  "--load-plugins", "pylint_django"  这个到数组中 就OK拉


vscode 中python 报错

相关文章:

  • 2021-12-16
  • 2022-01-07
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-15
  • 2021-05-26
  • 2021-09-30
猜你喜欢
  • 2021-05-26
  • 2022-12-23
  • 2021-08-21
  • 2022-12-23
  • 2022-12-23
  • 2021-12-01
  • 2022-01-20
相关资源
相似解决方案