on-policy icon indicating copy to clipboard operation
on-policy copied to clipboard

无法解析导入“wandb”

Open jun-running opened this issue 11 months ago • 1 comments

无法解析导入“wandb”,[{ "resource": "/home/hmp/jwj/project1/off-policy/offpolicy/runner/mlp/mpe_runner.py", "owner": "generated_diagnostic_collection_name#1", "code": { "value": "reportMissingImports", "target": { "$mid": 1, "path": "/microsoft/pyright/blob/main/docs/configuration.md", "scheme": "https", "authority": "github.com", "fragment": "reportMissingImports" } }, "severity": 4, "message": "无法解析导入“wandb”", "source": "Pylance", "startLineNumber": 1, "startColumn": 8, "endLineNumber": 1, "endColumn": 13 }]

jun-running avatar Mar 15 '24 02:03 jun-running

如果环境是按照readme装的话,试试手动指令安装pip install wandb==0.15.11

restlessfish avatar Apr 11 '24 12:04 restlessfish