pytorch中出现的Module 'torch' has no 'zero' member如何解决
在设置中搜索python.linting.pylintPath如下
如果使用的是anaconda,在anaconda文件夹中寻找pylint应用程序的安装位置,例如:E:\anaconda\new\pkgs\pylint-2.2.2-py37_0\Scripts
如果没有安装anaconda,先检查是否安装了pylint,如果安装了,找到安装位置,例如:C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\pylint