对于conda: bash conda install torch-tb-profiler -c conda-forge 这里使用了 conda-forge 渠道来安装,因为默认的 conda 渠道可能不包含 torch-tb-profiler。 从源代码安装: 如果以上方法都无法安装 torch-tb-profiler,你还可以尝试从源代码安装。首先,你需要克隆