折腾一下环境
设置Anaconda为vscode的terminal
Ctrl+Shift+P->Preference: Open User Setting
找到
terminal.integrated.shell.windows
编辑如下:
"terminal.integrated.shell.windows": "C:\\Windows\\System32\\Cmd.exe",
"terminal.integrated.shellArgs.windows": [
"/K",
"E:\\Programas\\Anaconda3\\Scripts\\activate.bat",
"E:\\Programas\\Anaconda3"
],
因为这是折腾Windows的。Linux不需要。
[1]: https://blog.csdn.net/Amio_/article/details/80229179#VSCodeTerminal_41