Help with anaconda command line error

When i try to open anaconda in powershell I get the following error:

Fatal Python error: init_sys_streams: can’t initialize sys standard streams
Python runtime state: core initialized
Traceback (most recent call last):
File “C:\Python310\lib\io.py”, line 54, in
ImportError: cannot import name ‘text_encoding’ from ‘io’ (unknown location)
Invoke-Expression : Cannot bind argument to parameter ‘Command’ because it is an empty string.
At F:\anaconda\kevin\shell\condabin\Conda.psm1:107 char:36

  •     Invoke-Expression -Command $activateCommand;
    
  •                                ~~~~~~~~~~~~~~~~
    
    • CategoryInfo : InvalidData: (:slight_smile: [Invoke-Expression], ParameterBindingValidationException
    • FullyQualifiedErrorId : ParameterArgumentValidationErrorEmptyStringNotAllowed,Microsoft.PowerShell.Commands.Invo
      keExpressionCommand
      I am new to anaconda can anyone help me?
1 Like