问题
环境
python 3.8
Vscode报错Module ‘torch’ has no ‘cat’ member
解决
找到anaconda下的pylint安装目录
/home/mgege007/anaconda3/pkgs/pylint-2.6.0-py38_0/bin
在VScode的preferences–>setting搜pyintpath,找到pylint Path,添加以上路径保存即可
环境
python 3.8
Vscode报错Module ‘torch’ has no ‘cat’ member
找到anaconda下的pylint安装目录
/home/mgege007/anaconda3/pkgs/pylint-2.6.0-py38_0/bin
在VScode的preferences–>setting搜pyintpath,找到pylint Path,添加以上路径保存即可