![](/img/trans.png)
[英]Not able to install anaconda on linux, getting error path_to_dir/conda.exe : Permisison denied
[英]Cannot start conda.exe when running PowerShell - invalid command 'hook'?
我在我的 PC 上安裝了 Anaconda,但在啟動 PowerShell 時出現以下錯誤?
Windows PowerShell Copyright (C) Microsoft Corporation. All rights reserved. Try the new cross-platform PowerShell https://aka.ms/pscore6 invalid command 'hook' Invoke-Expression : Cannot bind argument to parameter 'Command' because it is an empty string. At \\INTRANET\AMER\User\0001\X\My Documents\WindowsPowerShell\profile.ps1:4 char:95 + ... onda.exe" "shell.powershell" "hook") | Out-String | Invoke-Expression + ~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidData: (:PSObject) [Invoke-Expression], ParameterBindingValidationException + FullyQualifiedErrorId : ParameterArgumentValidationErrorEmptyStringNotAllowed,Microsoft.PowerShell.Commands.Invo keExpressionCommand
你的 conda 版本需要升級,試試這個:conda upgrade -n base -c defaults --override-channels conda
"
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.