
问题描述:
今天用vscode导入之前写的python工程出现如下错误:
vscode Class '' has no 'objects' member
(学习视频推荐:java视频教程)
解决方法:
打开 "设置",然后搜索 python.linting.pylintArgs 添加 "--load-plugins", "pylint_django" 到数组中就可以了。
如下图所示:

相关教程推荐:vscode教程
以上是vscode中python报错怎么办的详细内容。更多信息请关注PHP中文网其他相关文章!