vscode中解決Module 'torch' has no 'randn' member

1、打開vscode設置 2、在設置的搜索窗口搜索:python.linting.pylintPath 3、更新Pylint Path路徑,然後ctrl+s 完成 4、如何找到pylint-2.4.2的路徑? 可以下載個everything,然後直接在搜索框裏面搜索。(這個軟件搜索速度很快)
相關文章
相關標籤/搜索