第一個問題: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": "" }