問題描述:
今天用vscode導入之前寫的python工程出現如下錯誤:
vscode Class '' has no 'objects' member
(學習視頻推薦:java視頻教程)
解決方法:
打開 "設置",然后搜索 python.linting.pylintArgs 添加 "–load-plugins", "pylint_django" 到數組中就可以了。
如下圖所示:
相關教程推薦:vscode教程
問題描述:
今天用vscode導入之前寫的python工程出現如下錯誤:
vscode Class '' has no 'objects' member
(學習視頻推薦:java視頻教程)
解決方法:
打開 "設置",然后搜索 python.linting.pylintArgs 添加 "–load-plugins", "pylint_django" 到數組中就可以了。
如下圖所示:
相關教程推薦:vscode教程