参考原文:https://blog.csdn.net/PMONONOKE/article/details/139077681
首先使用VScode的Remote SSH配置好远程访问,
1.点击vscode左上角的view–>command palette (Control+Shift+p)
2.在弹出的窗口中输入interpreter,选择“Python: Select Interpreter
3.选择需要的conda解释器,如“Python 3.10.14(‘mmlu’) ~/miniforge/envs/mmlu/bin/python"
4.点击“Run and Debug"