我在尝试 flutter upgrade
时收到此错误
& : The term 'C:\Users\USER\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\USER\Documents\WindowsPowerShell\profile.ps1:4 char:4
+ (& "C:\Users\USER\anaconda3\Scripts\conda.exe" "shell.powershell" "ho ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (C:\Users\USER\a...ripts\conda.exe:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
目前,我的系统中没有安装 anaconda
答案 0 :(得分:0)
Anaconda 是 Python 的一个发行版,它与 Flutter 没有任何关系。 确保您在终端中编写了正确的命令。