Anaconda won't start after PC reboot

1

I was happily coding this morning using Spyder/Anaconda, then my computer needed a reboot, Spyder/Anaconda wont start at all.

If I try and use the Anaconda Prompt it shows the below error:

failed to create process.
Invoke-Expression : Cannot bind argument to parameter 'Command' because it is
an empty string.
At C:\ProgramData\Anaconda3\shell\condabin\Conda.psm1:70 char:36
+         Invoke-Expression -Command $activateCommand;
+                                    ~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidData: (:) [Invoke-Expression], ParameterB
   indingValidationException
    + FullyQualifiedErrorId : ParameterArgumentValidationErrorEmptyStringNotAl
   lowed,Microsoft.PowerShell.Commands.InvokeExpressionCommand

Error Message

Ben

Posted 2019-07-23T14:05:47.663

Reputation: 11

The reason for the reboot... it was Windows updates? I ask because that's a Powershell error (.psm files are powershell scripts). It's possible that an update changed how the Invoke-Expression commandlet works and the psm script trips over the change. You might want to check the issue tracker for anaconda. – Cliff Armstrong – 2019-07-24T17:07:37.263

Answers

0

I had this happen after an update to Microsoft Visual C++ Runtime on my system. Reinstalling Anaconda fixed the problem.

Vector

Posted 2019-07-23T14:05:47.663

Reputation: 143