vscode下执行 conda deactivate报错

vscode执行conda deactivat报错:

CommandNotFoundError: Your shell has not been properly configured to
If using 'conda deactivate' from a batch script, change your
invocation to 'CALL conda.bat deactivate'.To initialize your shell, runCurrently supported shells are:- bash- cmd.exe- fish- tcsh- xonsh- zsh- powershellSee 'conda init --help' for more information and options.IMPORTANT: You may need to close and restart your shell after runnin

按照很多教程执行了以后也没用,
然后我按照这个方法blog地址
发现原来是因为自己的window用户名为中文,然后它在一个乱码文件夹生成了WindowsPowerShell文件夹,并在里面生成了配置文件profile.ps1,把这个文件夹整个复制黏贴到正确的文档文件夹下,就可以解决报错了


本文来自互联网用户投稿,文章观点仅代表作者本人,不代表本站立场,不承担相关法律责任。如若转载,请注明出处。 如若内容造成侵权/违法违规/事实不符,请点击【内容举报】进行投诉反馈!

相关文章

立即
投稿

微信公众账号

微信扫一扫加关注

返回
顶部