Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/python-3.x/18.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 3.x 移除Anaconda3后,我在PowerShell中仍然会遇到这些错误_Python 3.x_Powershell_Visual Studio Code_Anaconda3 - Fatal编程技术网

Python 3.x 移除Anaconda3后,我在PowerShell中仍然会遇到这些错误

Python 3.x 移除Anaconda3后,我在PowerShell中仍然会遇到这些错误,python-3.x,powershell,visual-studio-code,anaconda3,Python 3.x,Powershell,Visual Studio Code,Anaconda3,当我打开visual studio时,出现以下错误。我可以做什么来完全删除默认设置?我已经尝试重新安装和卸载Anaconda3,所有版本的Python和Visual Studio 我想从零开始没有巨蟒 Windows PowerShell 版权所有(C)微软公司。版权所有 Try the new cross-platform PowerShell https://aka.ms/pscore6 & : The term 'C:\Users\Name\Anaconda3\Scripts\c

当我打开visual studio时,出现以下错误。我可以做什么来完全删除默认设置?我已经尝试重新安装和卸载Anaconda3,所有版本的Python和Visual Studio

我想从零开始没有巨蟒

Windows PowerShell 版权所有(C)微软公司。版权所有

Try the new cross-platform PowerShell https://aka.ms/pscore6

& : The term 'C:\Users\Name\Anaconda3\Scripts\conda.exe' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is 
correct and try again.
At C:\Users\Name\Documents\WindowsPowerShell\profile.ps1:4 char:4
+ (& "C:\Users\Name\Anaconda3\Scripts\conda.exe" "shell.powe ...
+    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (C:\Users\Name...ripts\conda.exe:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException
 

C:\Users[用户名]\Documents\WindowsPowerShell


删除那里的文件

您可以编辑Microsoft.VSCode_profile.ps1文件(当您在编辑器中键入
$profile
并删除所有与蟒蛇有关的代码时,可以找到完整路径。要打开配置文件,请在终端中键入
记事本$profile
。对其进行更改后,保存文件并重新启动VSCODE谢谢您的帮助…这是文件上显示的信息。我应该删除吗所有内容?
#region conda initialize#!!!!此块中的内容由“conda init”管理!!(&“C:\Users\Name\Anaconda3\Scripts\conda.exe”“shell.powershell”“hook”)| Out String | Invoke Expression#endregion如果这是配置文件的全部内容,那么是的,完全清除它。如果有更多内容,您可能希望保留其余部分(如果与conda无关),只需删除以
#region
开始(包括)和以
#endregion
结束的部分。谢谢,为我工作:)