第一个问题:Activating Python 3.7.7 64-bit ('MyWorks': conda) to run Jupyter failed with Error: Command failedpython
这个问题的缘由是C盘用户目录有中文,解决方案为:将环境变量中用户变量中的TEMP与TMP改成C:/Windows/TEMP,或者在C盘新建一个文件夹将TEMP与TMP的环境变量改为它便可。json
若是上一步完成后还有问题,在VS Code中按F1搜索settings.json,向其中插入code
"python.terminal.activateEnvironment": false
第二个问题:Activating Python 3.7.7 64-bit ('MyWorks': conda) to run Jupyter failed with Error: StdErr from ShellExecterminal
我是在解决第一个问题后遇到的此问题,解决方法是:it
在VS Code中按F1搜索settings.json,向其中插入class
"terminal.integrated.env.osx": { "PATH": "" }